call

call

call

Function

Dynamically call a function by function name or function value.

Syntax

Parameters

ParametersTypeRequiredDefault valueDescription
fn_or_nameString/FnYesNoneFunction name or function value.
argNAnyNoNoneArguments passed to the target function.

Return value

TypeDescription
AnyReturns the return value of the target function.

Example

Notes

  • When calling by name, the user global function will be checked first, and then the system function will be checked.