Validation

trait Validation[A]
Companion
object
class Object
trait Matchable
class Any
object Validation

Value members

Concrete methods

def between[B](from: B, to: B)(value: B)(implicit numeric: Numeric[B]): ValidatedNel[A, Unit]
def bigDecimal(value: String): ValidatedNel[A, BigDecimal]
def bigInt(value: String): ValidatedNel[A, BigInt]
def compare[B, C](reference: C, f: (C, C) => Boolean, message: => B)(value: C): ValidatedNel[B, Unit]
def contains(reference: String)(value: String): ValidatedNel[A, Unit]
def defined[B](value: Option[B]): ValidatedNel[A, B]
def double(value: String): ValidatedNel[A, Double]
def email(value: String): ValidatedNel[A, Unit]
def endsWith(reference: String)(value: String): ValidatedNel[A, Unit]
def float(value: String): ValidatedNel[A, Float]
def gt[B](reference: B)(value: B)(implicit numeric: Numeric[B]): ValidatedNel[A, Unit]
def gteq[B](reference: B)(value: B)(implicit numeric: Numeric[B]): ValidatedNel[A, Unit]
def int(value: String): ValidatedNel[A, Int]
def length(reference: Int)(value: String): ValidatedNel[A, Unit]
def long(value: String): ValidatedNel[A, Long]
def lt[B](reference: B)(value: B)(implicit numeric: Numeric[B]): ValidatedNel[A, Unit]
def lteq[B](reference: B)(value: B)(implicit numeric: Numeric[B]): ValidatedNel[A, Unit]
def matches(regex: String)(value: String): ValidatedNel[A, Unit]
def maxLength(reference: Int)(value: String): ValidatedNel[A, Unit]
def minLength(reference: Int)(value: String): ValidatedNel[A, Unit]
def noSpaces(value: String): ValidatedNel[A, Unit]
def nonEmpty(value: String): ValidatedNel[A, Unit]
def number[B](parse: String => Option[B], message: => A)(value: String): ValidatedNel[A, B]
def optional[B, C](value: Option[B])(f: B => ValidatedNel[A, C]): ValidatedNel[A, Option[C]]
def required(value: String): ValidatedNel[A, String]
def short(value: String): ValidatedNel[A, Short]
def startsWith(reference: String)(value: String): ValidatedNel[A, Unit]