Skip to content

SDK API Reference / SegmentOperator

Interface: SegmentOperator

Segment operator for filtering Supports 15+ operators including comparison, set, text, pattern, and time

Properties

not?

optional not: boolean


rightValue?

optional rightValue: string | number | boolean


rightValues?

optional rightValues: (string | number | boolean)[]


type

type: "Equal" | "NotEqual" | "Greater" | "GreaterEqual" | "Less" | "LessEqual" | "In" | "NotIn" | "Contain" | "StartWith" | "EndWith" | "Regexp" | "IsNull" | "TimeWithinPast" | "TimeWithinNext" | "TimeRange" | "Between"


unit?

optional unit: string


value?

optional value: string | number