Skip to Content

The RuleConditionOption3 type of the TypeScript SDK, part of RuleCondition.

type RuleConditionOption3 = {
  field: 'header'
  header: string
  not?: boolean
  op: ('contains' | 'is' | 'matches' | 'regex' | 'exists')
  value?: string
}

Fields

FieldTypeDescription
field'header'
headerstring
notbooleanOptional. Invert this condition @default false
op('contains' | 'is' | 'matches' | 'regex' | 'exists')
valuestringOptional.

Used in

RuleCondition.

On this page