Deila með


Function.Invoke

Syntax

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

About

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

Example

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

Usage

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

Output

{"A", "B"}