Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 177 Bytes

File metadata and controls

14 lines (9 loc) · 177 Bytes

Negative

  • v::negative()

Validates if a number is lower than zero

v::numeric()->negative()->validate(-15); // true

See also: