MinLength

zio.schema.validation.Predicate.Str.MinLength
final case class MinLength(n: Int) extends Str[String]

Attributes

Source
Predicate.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Str[String]
trait Predicate[String]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

Attributes

Inherited from:
Predicate
Source
Predicate.scala

Attributes

Inherited from:
Predicate
Source
Predicate.scala

Value members

Concrete methods

def validate(value: String): Result

Attributes

Source
Predicate.scala

Inherited methods

def contramap[B](f: B => String): Predicate[B]

Attributes

Inherited from:
Predicate
Source
Predicate.scala

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala