odd?()

Synopsis

Returns True if num is an odd integer . Returns False otherwise.

Syntax

odd? ( num As Integer ) As Boolean 
Argument Type Description
num Integer The number to check for oddness.

Example 1

Intent >odd?(1) 
--> True 

Example 2

Intent >odd?(42) 
--> False