mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 07:45:45 +01:00
20 lines
253 B
Markdown
20 lines
253 B
Markdown
# Negative
|
|
|
|
- `Negative()`
|
|
|
|
Validates if a number is lower than zero
|
|
|
|
```php
|
|
v::numericVal()->negative()->validate(-15); // true
|
|
```
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
0.3.9 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [Positive](Positive.md)
|