Packages

c

cats.syntax

ValidatedIdOpsBinCompat0

final class ValidatedIdOpsBinCompat0[A] extends AnyVal

Source
validated.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValidatedIdOpsBinCompat0
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ValidatedIdOpsBinCompat0(a: A)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. def invalidNec[B]: ValidatedNec[A, B]

    Wrap a value to an invalid ValidatedNec

    Wrap a value to an invalid ValidatedNec

    For example:

    scala> import cats.implicits._, cats.data._
    scala> "Err".invalidNec[Int]
    res0: Validated[NonEmptyChain[String], Int] = Invalid(Chain(Err))
  7. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  8. def toString(): String
    Definition Classes
    Any
  9. def validNec[B]: ValidatedNec[B, A]

    Wrap a value to a valid ValidatedNec

    Wrap a value to a valid ValidatedNec

    For example:

    scala> import cats.implicits._, cats.data._
    scala> 1.validNec[String]
    res0: Validated[NonEmptyChain[String], Int] = Valid(1)

Inherited from AnyVal

Inherited from Any

Ungrouped