Wren Plugin for Xojo

VM.HasVariable Method

Checks if top level variable given name in resolved module name and returns true if it was found, else false.

HasVariable(
   moduleName as String,
   variableName as String) as Boolean

Parameters

moduleName
Name of the module to search for the variable in.
variableName
Name of the variable.

Returns

Boolean
True if found, else false.

Remarks

See Also

VM Class