Booleans
The boolean type has two literal values:
true
false
Booleans are primarily used in conditional expressions and as flags. See Truthiness for the rules governing how non-boolean values evaluate in boolean contexts.
The boolean type has two literal values:
true
false
Booleans are primarily used in conditional expressions and as flags. See Truthiness for the rules governing how non-boolean values evaluate in boolean contexts.