Function
Function represents the serializable format of a function and its overloads.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Function(
name,overloads?):Function
Constructor creates a serializable function and overload set.
Parameters
Section titled “Parameters”string
overloads?
Section titled “overloads?”Overload[] = []
Returns
Section titled “Returns”Function
Properties
Section titled “Properties”description
Section titled “description”description:
string=""
name:
string
overloads
Section titled “overloads”overloads:
Overload[] =[]
Methods
Section titled “Methods”asCELFunction()
Section titled “asCELFunction()”asCELFunction(
tp):FunctionDecl
AsCELFunction converts the serializable form of the Function into a CEL environment declaration.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”validate()
Section titled “validate()”validate():
Error|undefined
Validate validates the function configuration is well-formed.
Returns
Section titled “Returns”Error | undefined