BooleanExtensions extension
- on
-
- bool?
Properties
- toInt → int
-
Available on bool?, provided by the BooleanExtensions extension
convertbool
to int with value0
or1
based onboolean value
no setter
Methods
-
onFalse<
T> (T callback, [T? otherCallBack]) → T? -
Available on bool?, provided by the BooleanExtensions extension
When false this will return call back When true or null this will return other -
onFalseOrNull<
T> (T callback, [T? otherCallBack]) → T? -
Available on bool?, provided by the BooleanExtensions extension
When false or null this will return call back When true this will return other -
onTrue<
T> (T callback, [T? otherCallBack]) → T? -
Available on bool?, provided by the BooleanExtensions extension
When true this will return call back When false or null this will return other -
onTrueOrNull<
T> (T callback, [T? otherCallBack]) → T? -
Available on bool?, provided by the BooleanExtensions extension
When true or null this will return call back When false this will return other