ZVON > References > Haskell reference
| Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random

Module: Prelude
Function: odd
Type: Integral a => a -> Bool
Description: returns True if the integral is odd, False otherwise.
Related: even
Keywords: odd
MATHWORLD Odd Number

Example 1

Input: odd 13

Output: True

Example 2

Input: odd 12

Output: False