PythonScript Xojo Plugin

PythonInstance.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

PythonInstance Class