Boolean

class Boolean

A dynamic-valued true/false value.

Boolean(value: bool)

Construct a new Boolean with the given value.

property value

(Get/set) The current value as a Python bool.