Type:Bool

From Resonite Wiki
Revision as of 22:37, 14 January 2024 by 989onan (talk | contribs) (use template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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