Documentation

nonpositive()

Validates that the number is non-positive (less than or equal to 0).

nonpositive(error?: StringConvertible): this;

Parameters

Return value

This builder, for chaining.

Related