uim.core.datatypes.boolean

Members

Functions

fromBool
T fromBool(bool value, T ifTrue, T ifFalse)

Translates boolean to defined values

toBool
bool toBool(T value, T ifValue)

Translates value to bool

toggle
bool toggle(bool value)

Toggle boolean value (from true to false, false to true) -> in this function it's !value

translate
T translate(bool value, T ifTrue, T ifFalse)

Translates boolean to defined values

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

UI Manufaktur Team Documentation DE: https://ui-manufaktur.com/docu/uim-core/dataytypes/boolean