GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Elixir

This view

  • Original page
  • New address

GeezerVison is showing elixir.hexdocs.pm — BadBooleanError — Elixir v1.20.5

BadBooleanError exception (Elixir v1.20.5)

Copy Markdown View Source

An exception raised when a boolean is expected, but something else was given.

This exception is raised by and and or when the first argument is not a boolean:

iex> 123 and true
** (BadBooleanError) expected a boolean on left-side of "and", got:
...
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.