mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 10:40:24 +02:00
178 B
178 B
Positive
v::positive()
Validates if a number is higher than zero
v::numeric()->positive()->validate(-15); //false
See also: