# StringType - `StringType()` Validates whether the type of an input is string or not. ```php v::stringType()->validate('hi'); // true ``` ## Categorization - Strings - Types ## Changelog Version | Description --------|------------- 1.0.0 | Renamed from `String` to `StringType` 0.3.9 | Created as `String` *** See also: - [Alnum](Alnum.md) - [ArrayType](ArrayType.md) - [BoolType](BoolType.md) - [BoolVal](BoolVal.md) - [CallableType](CallableType.md) - [FloatType](FloatType.md) - [IntType](IntType.md) - [NullType](NullType.md) - [Number](Number.md) - [ObjectType](ObjectType.md) - [ResourceType](ResourceType.md) - [ScalarVal](ScalarVal.md) - [StringVal](StringVal.md) - [Type](Type.md)