Type:Bool: Difference between revisions

From Resonite Wiki
mNo edit summary
m Fixed dead link
Line 9: Line 9:
* [[Type:Bool3 | bool3]]
* [[Type:Bool3 | bool3]]
* [[Type:Bool4 | bool4]]
* [[Type:Bool4 | bool4]]
* [[Type:bobool3ol|bobool3ol]]  
* [[Type:Bobool3ol|Bobool3ol]]  


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

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