to_bool method

to_bool

Returns the property value as bool.

def to_bool(self):
    ...

Remarks

Throws an exception if the property type is not PropertyType.Boolean.

See Also