Boolean

Boolean -- the class whose two members are true and false.

Predicate functions return these as values, and the logical connectives expect to receive them as arguments.

i1 : 3 == 4

o1 = false

Boolean constants:

  • false
  • true
  • Functions dealing with truth values.

  • not -- negation
  • and -- conjunction
  • or -- disjunction
  • if -- condition testing
  • select -- selection of elements
  • while -- loop control

  • topindexpreviousupnext