Type alias SizeConstraint

SizeConstraint: ConstraintBase<"SizeConstraint", {
    max: number | null;
    min: number | null;
    msg: ConstraintMessage;
}>

A constraint on the size of a string

Type declaration

  • max: number | null
  • min: number | null
  • msg: ConstraintMessage

Generated using TypeDoc