Skip to main content

Function.Invoke

Invokes the given function.

Syntax​

Function.Invoke(
function as function,
args as list
) as any

Remarks​

Invokes the given function using the specified list of arguments and returns the result.

Examples​

Example #1​

Invokes Record.FieldNames with one argument [A=1,B=2].

Function.Invoke(Record.FieldNames, {[A = 1, B = 2]})

Result:

{"A", "B"}

Category​

Function