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

Module: Maybe
Function: isNothing
Type: Maybe a -> Bool
Description: returns True if the argument is Nothing
Related:

Example 1

Input: isNothing (lookup 32 [(1,'A'),(2,'B'),(3,'C')])

Output: True

Example 2

Input: isNothing (lookup 3 [(1,'A'),(2,'B'),(3,'C')])

Output: False