Type Function Object CoronaPrototype Library none Return value none Revision Release 2025.3714
Objects based on CoronaPrototype cannot have their __index
metamethod overridden.
When called, indexFunc
will be called prior to the original __index
metamethod. If indexFunc
returns nil
, then the original metamethod is called.
object:setExtension( indexFunc )
Function. The index function.