Skip to content

Wonkey types declinfo get

wonkey:wonkey.types.DeclInfo.Get

Method Get:Variant( instance:Variant )#

Gets field, property or global value.

If the declaration kind is 'Global', the instance parameter is ignored.

A runtime error will occur if the declaration kind is not 'Field' or 'Global'.