Documentation

max()

Validates that the array has at most the specified number of items.

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

Parameters

Return value

This builder, for chaining.

Related