min()
Validates that the string has at least the specified number of characters.
min(length: number, error?: StringConvertible): this;
Parameters
- length — The minimum number of characters.
- error — Custom error message.
Return value
This builder, for chaining.
Related
interface Schema.StringBuilder static
A validation builder for string values.
