RuleConditionOption2
The RuleConditionOption2 type of the TypeScript SDK, part of RuleCondition.
type RuleConditionOption2 = {
field: ('subject' | 'listId')
not?: boolean
op: ('contains' | 'is' | 'matches' | 'regex' | 'exists')
value?: string
}Fields
| Field | Type | Description |
|---|---|---|
field | ('subject' | 'listId') | |
not | boolean | Optional. Invert this condition @default false |
op | ('contains' | 'is' | 'matches' | 'regex' | 'exists') | |
value | string | Optional. |