Skip to content

ConditionLeaf

ConditionLeaf = [unknown, string, unknown]

Defined in: src/types/ICondition.ts:8

A comparison leaf: [lhs, operator, rhs]. Operands are either notation paths (prefixed by the configured pathPrefix, default $.) read from the check-time context, or literal values.

['$.order.value', '>', 100000]
['$.now', 'during', 'T0900:1800 E1:5'] // dtrexp schedule (Mon–Fri, 09:00–18:00)