BoolExtension extension

Extension on bool to provide additional functionality.

on

Methods

toggle() bool

Available on bool, provided by the BoolExtension extension

Toggles the boolean value.
toInt() int

Available on bool, provided by the BoolExtension extension

Converts the boolean value to an integer.