Skip to main content

Interface: ParseConditionResult

Defined in: state/types.ts:73

Result of parsing a condition string.

Contains the parsed components of a condition string including the data property path, the condition operator, the value to compare against, and the type of that value.

ParseConditionResult

Properties​

dataProp​

dataProp: string

Defined in: state/types.ts:74

The data property path to evaluate


condition​

condition: Conditions

Defined in: state/types.ts:75

The condition operator to use


valueProp​

valueProp: string | boolean

Defined in: state/types.ts:76

The value to compare against


valueType​

valueType: ValueType

Defined in: state/types.ts:77

The type of the value (string, number, boolean, or dataProp)