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:

CBOR/to_cbor.cr

Instance Method Summary

Instance methods inherited from class Object

to_cbor(io : IO)
to_cbor
to_cbor

Instance Method Detail

def to_cbor(cbor : CBOR::Builder) #

[View source]