ZVON > References > Haskell reference |
Intro / Search / ZVON |
| Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random |
Module: | Prelude |
---|---|
Function: | null |
Type: | [a] -> Bool |
Description: | returns True if a list is empty, otherwise False |
Related: | length |
Keywords: | empty, list |
Input: null []
Output: True
Input: null [1,2,3]
Output: False
Input: null "Hello"
Output: False