respect-validation/docs/IntType.md
2017-03-28 11:53:14 +02:00

603 B

IntType

  • IntType()

Validates whether the type of a value is integer.

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

Changelog

Version Description
1.0.0 Created

See also: