Method call_function()


Method call_function

mixed call_function(function(:void) fun, mixed ... args)

Description

Call a function.

Calls the function fun with the arguments specified by args.

Deprecated

Replaced by `().

This is just an older name for the `()() operator. Calling call_function() explicitly generates a deprecation warning; ordinary call syntax (fun(@args)) does not, and should be used instead.

See also

`()(), lfun::`()()