# StringType - `StringType()` Validates a string. ```php v::stringType()->validate('hi'); // true ``` ## Changelog Version | Description --------|------------- 1.0.0 | Renamed from `String` to `StringType` 0.3.9 | Created as `String` *** See also: - [Alnum](Alnum.md) - [BoolType](BoolType.md) - [CallableType](CallableType.md) - [FloatType](FloatType.md) - [IntType](IntType.md) - [NullType](NullType.md) - [ObjectType](ObjectType.md) - [ResourceType](ResourceType.md) - [Type](Type.md)