mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
14 lines
177 B
Markdown
14 lines
177 B
Markdown
# Negative
|
|
|
|
- `v::negative()`
|
|
|
|
Validates if a number is lower than zero
|
|
|
|
```php
|
|
v::numeric()->negative()->validate(-15); // true
|
|
```
|
|
|
|
***
|
|
See also:
|
|
|
|
* [Positive](Positive.md)
|