SplitScript reference / bool

bool

Built-in type

bool

Stores a boolean value.

Boolean values are true or false and are required by conditions and lifecycle decision blocks.

Examples

Use bool

let isBoss = current.level == 7

Capabilities

MemberDescriptionAvailable through
DebugProduces an unambiguous structural representation of a value.
DisplaySupports conversion to a user-facing textual representation.
EquatableSupports equality comparison.
MemoryReadableSupports deserialization from process memory.

Operators

MemberDescriptionAvailable through
==Reports whether this value and another value are equal.Available through Equatable
!=Reports whether this value and another value differ.Available through Equatable
!Inverts a boolean value.

Methods

MemberDescriptionAvailable through
debugStringConverts the receiver to its unambiguous structural representation.Available through Debug
toStringConverts the receiver to its user-facing string representation.Available through Display