Documentation

nonempty()

Validates that the array is not empty.

nonempty(error?: StringConvertible): this;

Parameters

Return value

This builder, for chaining.

Related