Skip to content

Type Alias: BinaryOperatorDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / BinaryOperatorDto

BinaryOperatorDto = "Add" | "Subtract" | "Multiply" | "Divide" | "Modulo" | "LessThan" | "LessThanOrEqual" | "GreaterThan" | "GreaterThanOrEqual" | "Equal" | "NotEqual" | "And" | "Or"

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

Binary operator for expressions within function bodies.

The whole algebra the engine carries, not the arithmetic corner of it. Four operators were declared here while the engine had thirteen, and OSFQL DERIVE builds function bodies with every one of them — so a definition created that way could not be expressed in this shape, and a read that answered in this shape had to drop it or lie about it (backend #235).