Type:Bool: Difference between revisions

From Resonite Wiki
m Epsilion moved page Types:Bool to Type:Bool: Making type category singular
touchup
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable"
A '''bool''' (or boolean) is a [[value type]] that can be either <code>True</code> (on) or <code>false</code> (off)
|-
 
| Color
== Usage ==
| Type
 
|-
Use this type whenever you need to store a value that can only be in one of two states.
| style="background-color:{{Boolean-color}}" |
 
| Boolean
{{BoolTypes}}
|}
A boolean\bool Is a true or false value.
[[Category:Types]]

Latest revision as of 17:25, 18 April 2025

A bool (or boolean) is a value type that can be either True (on) or false (off)

Usage

Use this type whenever you need to store a value that can only be in one of two states.

Related types