Skip to content

Interface: ConditionalBranchDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ConditionalBranchDto

Defined in: src/types/functions.ts:38

One WHEN cond THEN value branch of a ExpressionDto Conditional.

The engine carries these as an unnamed pair; the wire names both halves, because a two-element array round-trips as well and reads as nothing.

then: ExpressionDto

Defined in: src/types/functions.ts:45

The value of the whole conditional when this is the first branch whose condition holds.


when: ExpressionDto

Defined in: src/types/functions.ts:40

The condition, evaluated in source order against the clause’s bindings.