in_args
Checks if a value is in a list of arguments.
Example
1
2
{{ "abcd" | in_args: "bc", "ab" }} => true
{{ "abcd" | in_args: "de" }} => false
Input
| Type | Parameter | Description | Required |
|---|---|---|---|
| string | value | The value to check. Comes before the | sign. | Required |
| mixed | …args | The list of arguments |
Output
| Type | Description |
|---|---|
| bool | True if the value is in the list, false otherwise |