respect-validation/docs/Negative.md

15 lines
177 B
Markdown
Raw Normal View History

2015-01-30 09:40:06 +01:00
# Negative
- `v::negative()`
Validates if a number is lower than zero
```php
v::numeric()->negative()->validate(-15); // true
2015-01-30 09:40:06 +01:00
```
***
2015-01-30 09:40:06 +01:00
See also:
* [Positive](Positive.md)