Skip to main content

Function

Represents callable code blocks or routines.

Functions can be named or anonymous, accept zero or more arguments, and may return a value of any type.

Symbols

NameDescription
==Checks if two function objects are equal.

Members

NameDescription
callCalls a function with the specified parameters.
cloneCreates a clone of the function object.
get_arityReturns the arity (number of arguments) of the function.
get_contained_functionsReturns the functions contained within this function object.
get_guardReturns the guard condition of the function.
get_param_typesReturns the parameter types of the function.
has_guardChecks if the function has a guard condition.