Type Alias: FunctionGuardDto
@kortexya/reasoninglayer / FunctionGuardDto
Type Alias: FunctionGuardDto
Section titled “Type Alias: FunctionGuardDto”FunctionGuardDto = {
type:"GreaterThan";value:FunctionValueDto;var:string; } | {type:"LessThan";value:FunctionValueDto;var:string; } | {type:"Equal";value:FunctionValueDto;var:string; } | {guards:FunctionGuardDto[];type:"And"; } | {guards:FunctionGuardDto[];type:"Or"; }
Defined in: src/types/functions.ts:130
Guard condition on a function clause.
Remarks
Section titled “Remarks”Tagged union discriminated by type. Comparison guards (GreaterThan, LessThan, Equal)
compare a named variable to a literal value. And and Or compose guards logically.