Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 1.34 KB

File metadata and controls

60 lines (45 loc) · 1.34 KB

IntType

  • IntType()

Validates whether the type of the input is integer.

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

Templates

IntType::TEMPLATE_STANDARD

Mode Template
default {{subject}} must be an integer
inverted {{subject}} must not be an integer

Template placeholders

Placeholder Description
subject The validated input or the custom validator name (if specified).

Categorization

  • Numbers
  • Types

Changelog

Version Description
1.0.0 Created

See also: