respect-validation/docs/rules/IntVal.md
2018-12-11 13:31:50 +01:00

29 lines
484 B
Markdown

# IntVal
- `IntVal()`
Validates if the input is an integer.
```php
v::intVal()->validate('10'); // true
v::intVal()->validate(10); // true
```
## Changelog
Version | Description
--------|-------------
1.0.0 | Renamed from `Int` to `IntVal`
0.3.9 | Created as `Int`
***
See also:
- [Digit](Digit.md)
- [Finite](Finite.md)
- [FloatType](FloatType.md)
- [FloatVal](FloatVal.md)
- [Infinite](Infinite.md)
- [IntType](IntType.md)
- [NumericVal](NumericVal.md)
- [Type](Type.md)