Invoke
Invokes an object method and returns the result of the invoked method.
Method Signature
Arguments
Argument
Type
Required
Description
Default
object
any
true
method
string
true
The name of the method to invoke
arguments
any
false
An array of positional arguments or a struct of named arguments to pass into the method.
Examples
Related
Last updated
Was this helpful?