The Bool type has two values: true and false.

Class Methods (see Type)

New
Returns false if the passed value is false or null, true otherwise.

Instance Methods

<=>
Return '0' if comparison value is the same. Otherwise return 'null'.
Bool?
Returns true if self is a Bool value.