MinLenValidator

info.fingo.spata.schema.validator.MinLenValidator

Validator verifying string maximum length. Takes the length of string after trimming it off white characters. Treats strings with maximum length as valid.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(min: Int): Validator[String]

Creates string minimum length validator.

Creates string minimum length validator.

Value parameters

min

minimum length

Attributes

Returns

validator