Validation

object Validation extends Validation[String]
Companion
class
trait Validation[String]
class Object
trait Matchable
class Any

Type members

Classlikes

trait Message[A]

Value members

Inherited methods

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