Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 182 Bytes

Positive.md

File metadata and controls

14 lines (9 loc) · 182 Bytes

Positive

  • v::positive()

Validates if a number is higher than zero

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

See also: