tao-test/app/vendor/respect/validation/docs/rules/Negative.md

177 B

Negative

  • v::negative()

Validates if a number is lower than zero

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

See also: