respect-validation/docs/Int.md
2015-08-20 01:38:41 -03:00

18 lines
251 B
Markdown

# Int
- `v::int()`
Validates if the input is an integer.
```php
v::int()->validate('10'); //true
v::int()->validate(10); //true
```
***
See also:
* [Digit](Digit.md)
* [Finite](Finite.md)
* [Infinite](Infinite.md)
* [Numeric](Numeric.md)