Identityx

object Identityx extends Identityx
Companion
class
trait Identityx
class Object
trait Matchable
class Any

Extensions

Inherited extensions

extension (t: => T)
def orWhen[T](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

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