Go Booleans: Difference between revisions
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
=Boolean Operators and Functions= | =Boolean Operators and Functions= | ||
* and | * and <tt>&&</tt> | ||
* or | * or <tt>||</tt> | ||
* not | * not <tt>!</tt> |
Revision as of 01:55, 23 March 2016
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 !