respect-validation/docs/IntType.md
Henrique Moody 66027b85a5 Documentation improvements
- Add a space after comments with `//`;
- Add missing "See also" sections in some files
2015-10-19 22:55:05 -02:00

548 B

IntType

  • v::intType()

Validates whether the type of a value is integer.

v::intType()->validate(42); // true
v::intType()->validate('10'); // false

See also: