Skip to content

Type Alias: FunctionValueDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / FunctionValueDto

FunctionValueDto = { type: "Integer"; value: number; } | { type: "Real"; value: number; } | { type: "String"; value: string; } | { type: "Boolean"; value: boolean; } | { type: "Uninstantiated"; } | { items: FunctionValueDto[]; type: "List"; } | { type: "DateTime"; value: string; }

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

Value type for LIFE-style function literals.

{ type: "Integer"; value: number; }


{ type: "Real"; value: number; }


{ type: "String"; value: string; }


{ type: "Boolean"; value: boolean; }


{ type: "Uninstantiated"; }


{ items: FunctionValueDto[]; type: "List"; }

An ordered list of values.


{ type: "DateTime"; value: string; }

An instant, RFC 3339.

Uses tagged serialization with a type discriminator.