Documentation

length()

Validates that the array has exactly the specified number of items.

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

Parameters

Return value

This builder, for chaining.

Related