Type:Bool: Difference between revisions

From Resonite Wiki
m Fixed dead link
m Fix category
Line 11: Line 11:
* [[Type:Bobool3ol|Bobool3ol]]  
* [[Type:Bobool3ol|Bobool3ol]]  


[[Category:Types]]
[[Category:Type]]
[[Category:Types:Value]]
[[Category:Type:Value]]

Revision as of 21:07, 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