Positive

  • v::positive()

Validates if a number is higher than zero

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

See also: