tao-test/app/vendor/respect/validation/docs/rules/Positive.md

179 B

Positive

  • v::positive()

Validates if a number is higher than zero

v::numeric()->positive()->validate(-15); // false

See also: