Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.29 KB

File metadata and controls

55 lines (40 loc) · 1.29 KB

StringType

  • StringType()

Validates whether the type of an input is string or not.

v::stringType()->isValid('hi'); // true

Templates

StringType::TEMPLATE_STANDARD

Mode Template
default {{subject}} must be a string
inverted {{subject}} must not be a string

Template placeholders

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

Categorization

  • Strings
  • Types

Changelog

Version Description
1.0.0 Renamed from String to StringType
0.3.9 Created as String

See also: