Python3Script Xojo Plugin

Python3Instance.HasAttribute Method (console safe)

Checks if the class instance 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 class instance has the given attribute, else false.

Remarks

See Also

Python3Instance Class