Functions List¶
The Wirefilter language supports functions to aid in defining complex criteria for filtering requests and responses.
| Function | Description | 
|---|---|
any | 
Returns true if the comparison operator in the argument returns true for any of the values in the argument array. | 
concat | 
Concatenates all the argument values into a single string. | 
ends_with | 
Checks if a given value ends with a specified suffix. | 
is_mac_valid | 
Checks if a provided message with a MAC (Message Authentication Code) is valid. | 
len | 
Returns the length of the provided argument. | 
lower | 
Converts the provided string argument to lowercase. | 
matches | 
Checks if a given value matches a wildcard pattern. | 
starts_with | 
Checks if a given value starts with a specified prefix. | 
to_string | 
Converts the provided argument to a string value. |