AnyRefTypeExtensions
Extension methods for Any type A.
class Object
trait Matchable
class Any
Value members
Concrete methods
If the condition is true apply the function to this value of type A and return a modified type A else return thisA unmodified.
If the condition is true apply the function to this value of type A and return a modified type A else return thisA unmodified.
If the condition is true thisA unmodified else apply the function to this value of type A and return a modified value of type A.
If the condition is true thisA unmodified else apply the function to this value of type A and return a modified value of type A.
Short hand alternative to a 2 case match statement.
Short hand alternative to a 2 case match statement.