Documentation

max()

Validates that the string has at most the specified number of characters.

max(length: number, error?: StringConvertible): this;

Parameters

Return value

This builder, for chaining.

Related