Validates that a given value is a positive integer.
The value to validate
Whether or not to consider 0 a valid value, defaults to true
true
A validation result
Generated using TypeDoc
Validates that a given value is a positive integer.