Length

zio.blocks.schema.Validation.String.Length
case class Length(min: Option[Int], max: Option[Int]) extends String

The length of the string is at least min and at most max; None leaves that side open.

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

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
def productIterator: Iterator[Any]

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