staticcanParse(v:String):Bool
Returns true if the passed value is either true or false (case insensitive).
true
false
staticcompare(a:Bool, b:Bool):Int
Returns a comparison value (Int) from two boolean values.
Int
staticinlineoption<A>(cond:Bool, a:A):Option<A>
Depending upon the condition, return the provided value wrapped in a Some, or None if the condition is false.
staticparse(v:String):Bool
Returns true/false if the passed value is true/false (case insensitive); with any other value it will return null.
statictoInt(v:Bool):Int
Converts a boolean to an integer value (true => 1, false => 0).
1
0
staticinlinexor(a:Bool, b:Bool):Bool
Returns true when arguments are different.