Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 403 Bytes

Positive.md

File metadata and controls

28 lines (19 loc) · 403 Bytes

Positive

  • Positive()

Validates whether the input is a positive number.

v::positive()->isValid(1); // true
v::positive()->isValid(0); // false
v::positive()->isValid(-15); // false

Categorization

  • Math
  • Numbers

Changelog

Version Description
2.0.0 Does not validate non-numeric values
0.3.9 Created

See also: