Skip to content

closure

closure(closureArguments...)

ParameterTypeDescription
(variadic) closureArguments*Arguments for the closure call.

Calls the closure given to the function call used to call the containing function. This function can only be called from within function definitions for functions that take a closure.

Returns

(*) The result of the closure call.