Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Type:Bool2: Difference between revisions

From Resonite Wiki
mNo edit summary
mNo edit summary
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]]

Revision as of 18:14, 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