mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 07:15:45 +01:00
29 lines
484 B
Markdown
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)
|