Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 178 Bytes

Positive.md

File metadata and controls

14 lines (9 loc) · 178 Bytes

Positive

  • v::positive()

Validates if a number is higher than zero

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

See also: