odd?

check if given number is odd


Parameters

odd? number :integer

Returns

  • :logical

Examples

copy
odd? 4 ; => false odd? 3 ; => true

copy
print select 1..10 => odd? ; 1 3 5 7 9

Related