Documentation

positive()

Validates that the number is positive (greater than 0).

positive(error?: StringConvertible): this;

Parameters

Return value

This builder, for chaining.

Related