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