Type:Bool: Difference between revisions

From Resonite Wiki
m Fix category
use template
 
Line 5: Line 5:


In the underlying runtime (.net), this takes the same amount of memory as a [[Type:Byte | byte]]
In the underlying runtime (.net), this takes the same amount of memory as a [[Type:Byte | byte]]
== Related Types ==
* [[Type:Bool2 | bool2]]
* [[Type:Bool3 | bool3]]
* [[Type:Bool4 | bool4]]
* [[Type:Bobool3ol|Bobool3ol]]


[[Category:Type]]
{{Template:BoolTypes}}
[[Category:Type:Value]]

Latest revision as of 22:37, 14 January 2024

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.

In the underlying runtime (.net), this takes the same amount of memory as a byte

Related Types