IntType

  • v::intType()

Validates whether the type of a value is integer.

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

See also: