BoolExtensions extension

on

Methods

toggle() bool
Reverse the value of bool
toInt() int
Convert bool to int return 1 if true, 0 if false