Home > @tridion-sites/open-api-client > ConditionOperator
Defines an operator used for comparison.
Members: * Equals
- Compares if a numerical operand is equal to the given condition value.
* GreaterThan
- Compares if a numerical operand is greater than the given condition value.
* LessThan
- Compares if a numerical operand is less than the given condition value.
* NotEqual
- Compares if a numerical operand is not equal to the given condition value.
* StringEquals
- Compares if a string operand is equal to the given condition value.
* Contains
- Compares if a string operand contains the given condition value.
* StartsWith
- Compares if a string operand starts with the given condition value.
* EndsWith
- Compares if a string operand ends with the given condition value.
* UnknownByClient
- Special reserved value used to notify an older API version client about the presence of an enumeration member added in a later API version. Explicitly setting this value by a client is not allowed, but client code should check it and be able to handle such cases.
Signature:
export declare enum ConditionOperator
Member | Value | Description |
---|---|---|
CONTAINS | "Contains" |
|
ENDS_WITH | "EndsWith" |
|
EQUALS | "Equals" |
|
GREATER_THAN | "GreaterThan" |
|
LESS_THAN | "LessThan" |
|
NOT_EQUAL | "NotEqual" |
|
STARTS_WITH | "StartsWith" |
|
STRING_EQUALS | "StringEquals" |
|
UNKNOWN_BY_CLIENT | "UnknownByClient" |