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:

crython/cr2py/bool.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pyobject : Crython::PyObject) : Bool #

[View source]

Instance Method Detail

def to_py : Crython::PyObject #

[View source]