Invoke

Invokes an object method and returns the result of the invoked method.

Method Signature

Invoke(instance=[any], methodname=[string], arguments=[any])

Arguments

ArgumentTypeRequiredDescriptionDefault

instance

any

true

Instance of a Box Class or name of one to instantiate. If an empty string is provided, the method will be invoked within the same template or Box Class.

methodname

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

Last updated

Logo

Copyright & Register Trademark by Ortus Solutions, Corp & Ortus Software, LLC