Wonkey types declinfo invoke
wonkey:wonkey.types.DeclInfo.Invoke
Method Invoke:Variant( instance:Variant,params:Variant[] )#
Invokes method or function.
If the declaration kind is 'Function', the instance
parameter is ignored.
A runtime error will occur if the declaration kind is not 'Method' or 'Function'.