struct Int32

Defined in:

wannabe_bool/int.cr

Instance Method Summary

Instance methods inherited from module WannabeBool::Int

to_b to_b

Instance Method Detail

def zero? #
Description copied from struct Number

Returns true if self is equal to zero.

0.zero? # => true
5.zero? # => false

[View source]