BooleanExtensions
Attributes
- Graph
-
- Supertypes
-
class AnyValtrait Matchableclass Any
Members list
Value members
Concrete methods
Folds the Boolean, a safer and more functional alternative to using an if else statement
Folds the Boolean, a safer and more functional alternative to using an if else statement
Attributes
A safer alternative to using an "if" without an else
A safer alternative to using an "if" without an else
Attributes
A safer alternative to using an if-else statement
A safer alternative to using an if-else statement
Attributes
if this Boolean is true modifies the value by applying the function ifMod to it else returns the value unmodified
if this Boolean is true modifies the value by applying the function ifMod to it else returns the value unmodified
Attributes
Returns the the empty string if true, returns String parameter if false
Returns the the empty string if true, returns String parameter if false
Attributes
This needs to be changed to by name parameters when by name varargs are allowed. I think this is coming in 12.3
This needs to be changed to by name parameters when by name varargs are allowed. I think this is coming in 12.3
Attributes
Returns the String parameter if true, returns the empty string if false
Returns the String parameter if true, returns the empty string if false