struct Bool

Overview

Bool has only two possible values: true and false. They are constructed using these literals:

true  # A Bool that is true
false # A Bool that is false

See Bool literals in the language reference.

Included Modules

Defined in:

wannabe_bool/boolean.cr

Instance methods inherited from module WannabeBool::Boolean

to_b to_b