Invoke

invokes a function/operation of the given object and if given object is a string, Lucee tries to load as component.

Returns: object

Usage

Invoke( object, name [, arguments ] )

Arguments

Argument Description
object
(any, required)

a component, struct or scope that holds a function, can also be the name of a component, in this case the component get loaded.

name
(string, required)

name of the function/operation

arguments
(any, optional)

arguments to pass to the function/operation

Examples

There are currently no examples for this function.