Skip to content

IdentifierDomain

class in io.proptastic

class IdentifierDomain

Identifiers with a check (decision 98): a body drawn by construction, then its check, so every value passes; .mistyped() changes one character so the check catches it, for a validator’s other side. A counterexample shrinks toward the body of zeros, or the first letters, and the first country.

Methods

mistyped

Domain<String> mistyped()

Each identifier with one character typed wrong, a digit for another digit or a letter for another letter, which its check catches: what a validator must refuse.

Privacy