Type:Bool2: Difference between revisions

From Resonite Wiki
m Epsilion moved page Types:Bool2 to Type:Bool2: Making type category singular
mNo edit summary
Line 1: Line 1:
A Bool2 is 2 [[Types:Bool| Bool]] values combined together.
A bool2 is a [[Value Type | value]] type that pairs two [[Type:Bool | bool]] values together
 
== Usage ==
Use this type whenever you need to store two values that can each be in one of two states.
 
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]]
[[Category:Types]]
[[Category:Types:Value]]

Revision as of 18:12, 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 values that can each be in one of two states.

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

Related Types