PythonScript Xojo Plugin

PythonModule.HasAttribute Method (console safe)

Checks if the module has attribute with a given name

HasAttribute(
   name as String) as Boolean

Parameters

name
Name of the attribute to check for.

Returns

Boolean
True if the module has the given attribute, else false.

Remarks

See Also

PythonModule Class