Identityx

org.specs2.fp.Identityx$
See theIdentityx companion trait
object Identityx extends Identityx

Attributes

Companion:
trait
Graph
Supertypes
trait Identityx
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Extensions

Inherited extensions

extension [S <: T, T](t: => S)
def orEmptyUnless(condition: Boolean)(using evidence$1: Monoid[T]): T

Attributes

Inherited from:
Identityx
def orEmptyWhen(condition: Boolean)(using evidence$2: Monoid[T]): T

Attributes

Inherited from:
Identityx
extension [T](t: => T)
def orWhen(condition: Boolean)(f: T => T): T

These extension methods provide the possibility to execute a function on an object if a condition is true If not, the object is returned

These extension methods provide the possibility to execute a function on an object if a condition is true If not, the object is returned

Attributes

Inherited from:
Identityx