respect-validation/docs/Positive.md
2016-11-06 18:45:44 +01:00

182 B

Positive

  • v::positive()

Validates if a number is higher than zero

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

See also: