Go Booleans

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Booleans are designated by pre-declared type identifier bool.

Boolean Literals

The boolean literals are pre-declared constants true and false.

Boolean Operators and Functions

  • and: &&
  • or: ||
  • not: !