23 lines
369 B
Markdown
23 lines
369 B
Markdown
|
# IntVal
|
||
|
|
||
|
- `v::intVal()`
|
||
|
|
||
|
Validates if the input is an integer.
|
||
|
|
||
|
```php
|
||
|
v::intVal()->validate('10'); // true
|
||
|
v::intVal()->validate(10); // true
|
||
|
```
|
||
|
|
||
|
***
|
||
|
See also:
|
||
|
|
||
|
* [Digit](Digit.md)
|
||
|
* [Finite](Finite.md)
|
||
|
* [FloatType](FloatType.md)
|
||
|
* [FloatVal](FloatVal.md)
|
||
|
* [Infinite](Infinite.md)
|
||
|
* [IntType](IntType.md)
|
||
|
* [Numeric](Numeric.md)
|
||
|
* [Type](Type.md)
|