Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 174 Bytes

Positive.md

File metadata and controls

13 lines (8 loc) · 174 Bytes

Positive

  • v::positive()

Validates if a number is higher than zero

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

See also: