sealed trait Validator[T] extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Validator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def validate(t: T): List[ValidationError[_]]
Concrete Value Members
- def and(other: Validator[T]): Validator[T]
- def asArrayElements: Validator[Array[T]]
- def asIterableElements[C[X] <: Iterable[X]]: Validator[C[T]]
- def asOptionElement: Validator[Option[T]]
- def contramap[TT](g: (TT) ⇒ T): Validator[TT]
- def or(other: Validator[T]): Validator[T]
- def show: Option[String]