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.

Defined in:

avram/blank_extensions.cr
avram/charms/bool_extensions.cr
avram/object_extensions.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

blank_for_validates_required? : Bool blank_for_validates_required?

Class Method Detail

def self.adapter #

[View source]

Instance Method Detail

def blank? #

[View source]
def blank_for_validates_required? : Bool #

[View source]