Type:Bool: Difference between revisions

From Resonite Wiki
mNo edit summary
use template
 
(2 intermediate revisions by the same user not shown)
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:Types]]
{{Template:BoolTypes}}
[[Category:Types: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