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:

crystal_on_steroids/to_query.cr

Instance Method Summary

Instance methods inherited from class Object

blank? blank?, dig?(index, *keys)
dig?
dig?
, in?(another_object) in?, presence presence, presence_in(another_object) presence_in, present? present?, to_param to_param, to_query(key)
to_query
to_query

Instance Method Detail

def to_param #

Return self


[View source]