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: notElem
Type: Eq a => a -> [a] -> Bool
Description: returns False if the list contains an item equal to the first argument
Related: (&&), all, and, any, elem, not, or, (||)

Example 1

Input: notElem 1 [1,2,3,4,5]

Output: False

Example 2

Input: 14 `notElem` [1..10]

Output: True

Example 3

Input: 'o' `notElem` "Zvon"

Output: False