Arguments
Arguments
This is for:
DeveloperThe following table provides details of each of the operations supported by the op argument used in the definition of segments.
Operation | Description | Examples |
---|---|---|
eq (equals) |
The values match exactly. This is done using a JavaScript type sensitive comparison (for example, “42” is not equal to 42) |
|
neq (does not equal) |
The values don’t exactly match |
|
lt (less than) |
The numeric value in the event is less than the value in the condition |
|
lte (less than or equal) |
The numeric value in the event is less than or equal to the value in the condition |
|
gt (greater than) |
The numeric value in the event is greater than the value in the condition |
|
gte (greater than or equal) |
The numeric value in the event is greater than or equal to the value in the condition |
|
in |
True if the value in the event is contained within the value of the condition |
|
nin |
True if the value in the event isn’t contained within the value of the condition |
|
contains |
True if the value in the event contains the value in the condition |
|
ncontains |
True if the value in the event doesn’t contain the value in the condition |
|
containsany |
The value of the condition is a list, and the condition will be true if any of the items of the list are contained in the event value |
|
ncontainsany |
The value of the condition is a list, and the condition will be true if none of the items of the list are contained in the event value |
|
regex |
Matches the regex entered |
|
nregex |
Doesn’t match the regex entered |
|
For regex and nregex, don’t include the |