ValidateOps

final implicit implicit class ValidateOps[T](val thisValidate: T => Result)
class Object
trait Matchable
class Any

Value members

Concrete methods

def &(otherValidate: () => T): () => T
def *[U](otherValidate: () => U): () => (T, U)
def ?(otherValidate: () => T): () => T
def ?!(otherValidate: () => T): () => T
def @:(errorPrefix: String): () => T
def @@(errorPrefix: String): () => T
def and(otherValidate: () => T): () => T

Compose this check with another check and expect them both to pass.

Compose this check with another check and expect them both to pass.

def andWhenValid(otherValidate: () => T): () => T
def andwhenInvalid(otherValidate: () => T): () => T
def debug: () => T
def debugWith(show: T => String): () => T
def or(otherValidate: () => T): () => T

Compose this check with another check and expect at least one of them to pass.

Compose this check with another check and expect at least one of them to pass.

def withErrorPrefix(errorPrefix: String): () => T
def withErrorPrefixComputed(errorPrefix: T => String): () => T
def |(otherValidate: () => T): () => T

Concrete fields