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
Operator: (||)
Type: Bool -> Bool -> Bool
Priority: 2
Description: logical or
Related: (&&), all, and, any, elem, not, notElem, or
Keywords: boolean, or

Example 1

Input: True || False

Output: True

Example 2

Input: False || False

Output: False

Example 3

Input: 2<3 || (3/0)>34

Output: True