struct Bool
- Bool
- Value
- Object
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.
Defined in:
lib/gi-crystal/src/bindings/g_object/type.crClass Method Summary
-
.g_type
Returns the GObject GType for Bool.