tao-test/app/vendor/respect/validation/docs/rules/IntVal.md

23 lines
369 B
Markdown
Raw Normal View History

2022-08-29 20:14:13 +02:00
# 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)