Is it a zero : nonzero « Number « Ruby






Is it a zero


op = 0
op.zero? # => true

 








Related examples in the same category

1.If it is a nonzero
2.If it is not a zero, then
3.Is it a nonzero