Validator

kreuzberg.extras.forms.Validator$
See theValidator companion trait
object Validator

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Validator.type

Members list

Type members

Classlikes

case object succeed extends Validator[Any]

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Validator[Any]
class Object
trait Matchable
class Any
Show all
Self type
succeed.type

Value members

Concrete methods

def email: Validator[String]
def fromFunction[T](f: T => Option[ValidationError]): Validator[T]
def fromPredicate[T](f: T => Boolean, msg: String): Validator[T]
def minLength(length: Int): Validator[String]