final class IorIdOps[A] extends AnyVal
- Alphabetic
- By Inheritance
- IorIdOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new IorIdOps(a: A)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
leftIor[B]: Ior[A, B]
Wrap a value in
Ior.Left
.Wrap a value in
Ior.Left
.Example:
scala> import cats.data.Ior scala> import cats.implicits._ scala> "error".leftIor[String] res0: Ior[String, String] = Left(error)
-
def
rightIor[B]: Ior[B, A]
Wrap a value in
Ior.Right
.Wrap a value in
Ior.Right
.Example:
scala> import cats.data.Ior scala> import cats.implicits._ scala> "hello".rightIor[String] res0: Ior[String, String] = Right(hello)
-
def
toString(): String
- Definition Classes
- Any