Documentation

max()

Validates that the number is at most the specified value.

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

Parameters

Return value

This builder, for chaining.

Related