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: even
Type: Integral a => a -> Bool
Description: returns True if the integral is even, False otherwise.
Related: odd
Keywords: even
MATHWORLD Even Number

Example 1

Input: even 12

Output: True

Example 2

Input: even 13

Output: False