Skip to content

Type Alias: ComparisonOp

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ComparisonOp

Type Alias: ComparisonOp

ComparisonOp = "<" | "<=" | "=" | "!=" | ">=" | ">"

Defined in: src/builders/constraint.ts:10

Operators accepted by Constraint.where — boolean comparisons. The chainer’s guard_constraint reads the operator as a string; it residuates the constraint until both sides are bound (or numerically evaluable), then evaluates the comparison.