- :logical
odd?
check if given number is odd
Parameters
odd? number :integer
Returns
Examples
copyodd? 4 ; => false odd? 3 ; => true
copyprint select 1..10 => odd? ; 1 3 5 7 9
odd? number :integer
copyodd? 4 ; => false odd? 3 ; => true
copyprint select 1..10 => odd? ; 1 3 5 7 9