final class RuleValidationOps[F[_], V[_], E] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RuleValidationOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def &&(b: Rule[F, V, E])(implicit F: Effect[F], V: Validated[V]): Rule[F, V, E]
See Rule.and
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def and(b: Rule[F, V, E])(implicit F: Effect[F], V: Validated[V]): Rule[F, V, E]
See Rule.and
- def asError(error: => E)(implicit F: Effect[F], V: Validated[V]): Rule[F, V, E]
Same as jap.fields.typeclass.Validated.asError but effectful
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asInvalid(invalid: => V[E])(implicit F: Effect[F], V: Validated[V]): Rule[F, V, E]
Same as jap.fields.typeclass.Validated.asError but effectful
- def errors(implicit F: Effect[F], V: Validated[V]): F[List[E]]
Same as jap.fields.typeclass.Validated.errors but effectful
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isInvalid(implicit F: Effect[F], V: Validated[V]): F[Boolean]
Same as jap.fields.typeclass.Validated.isInvalid but effectful
- def isValid(implicit F: Effect[F], V: Validated[V]): F[Boolean]
Same as jap.fields.typeclass.Validated.isValid but effectful
- def or(b: Rule[F, V, E])(implicit F: Effect[F], V: Validated[V]): Rule[F, V, E]
See Rule.or
- def toString(): String
- Definition Classes
- Any
- def unless(cond: => Boolean)(implicit F: Effect[F], V: Validated[V]): Rule[F, V, E]
Same as jap.fields.typeclass.Validated.unless but effectful
- def when(cond: => Boolean)(implicit F: Effect[F], V: Validated[V]): Rule[F, V, E]
Same as jap.fields.typeclass.Validated.when but effectful
- def whenInvalid(f: (V[E]) => V[E])(implicit F: Effect[F], V: Validated[V]): Rule[F, V, E]
Same as jap.fields.typeclass.Validated.whenValid but effectful
- def whenValid(b: => Rule[F, V, E])(implicit F: Effect[F], V: Validated[V]): Rule[F, V, E]
Same as jap.fields.typeclass.Validated.whenValid but effectful
- def ||(b: Rule[F, V, E])(implicit F: Effect[F], V: Validated[V]): Rule[F, V, E]
See Rule.or