Operators
Audience rules support the following operators, depending on the data type of the selected attribute:
Operator | Attribute Type | Meaning |
---|---|---|
is | Any | Matches exactly |
is not | Any | Does not match exactly |
contains | String, Array | String: Has substring , Array: Has element |
does not contain | String, Array | String: Does not have substring , Array: Does not have element |
matches regex | String | Matches Go regular expression |
> | Number, Time | Greater than |
< | Number, Time | Less than |
>= | Number, Time | Greater than or equal to |
<= | Number, Time | Less than or equal to |
is true | Boolean | Is True |
is false | Boolean | Is False |
is null | Any | Is missing |
is not null | Any | Is present |