mirror of
https://github.com/Respect/Validation.git
synced 2024-06-17 04:55:05 +02:00
10df3211f5
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
27 lines
346 B
Markdown
27 lines
346 B
Markdown
# Negative
|
|
|
|
- `Negative()`
|
|
|
|
Validates whether the input is a negative number.
|
|
|
|
```php
|
|
v::numericVal()->negative()->validate(-15); // true
|
|
```
|
|
|
|
## Categorization
|
|
|
|
- Math
|
|
- Numbers
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
2.0.0 | Does not validate non-numeric values
|
|
0.3.9 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [Positive](Positive.md)
|