3.14 Boolean

There is no Boolean data type in Erlang. Instead the atoms true and false are used to denote Boolean values.

Examples:

  1. 1> 2 =< 3.
  2. true
  3. 2> true or false.
  4. true