Type:Bool2: Difference between revisions

From Resonite Wiki
mNo edit summary
fix template usage
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:


== Usage ==
== Usage ==
Use this type whenever you need to store two values that can each be in one of two states.
Use this type whenever you need to store two bool values together.


In the underlying runtime (.net), this takes the same amount of memory as two [[Type:Byte | bytes]]
In the underlying runtime (.net), this takes the same amount of memory as two [[Type:Byte | bytes]]
== Related Types ==
* [[Type:Bool | bool]]
* [[Type:Bool3 | bool3]]
* [[Type:Bool4 | bool4]]
* [[Type:bobool3ol|bobool3ol]]


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

Latest revision as of 22:36, 14 January 2024

A bool2 is a value type that pairs two bool values together

Usage

Use this type whenever you need to store two bool values together.

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

Related Types