StringType

  • v::stringType()

Validates a string.

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

See also: