Type:Bool: Difference between revisions

From Resonite Wiki
m Fix category
touchup
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
A bool (or boolean) is a [[Value Type | value]] type that can be either '''true''' (on) or '''false''' (off)
A '''bool''' (or boolean) is a [[value type]] that can be either <code>True</code> (on) or <code>false</code> (off)


== Usage ==
== Usage ==
Use this type whenever you need to store a value that can only be in one of two states.
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 [[Type:Byte | byte]]
{{BoolTypes}}
== Related Types ==
* [[Type:Bool2 | bool2]]
* [[Type:Bool3 | bool3]]
* [[Type:Bool4 | bool4]]
* [[Type:Bobool3ol|Bobool3ol]]
 
[[Category:Type]]
[[Category:Type:Value]]

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