# Type - `v::type(string $type)` Validates the type of input. ```php v::type('bool')->validate(true); //true v::type('callable')->validate(function (){}); //true v::type('object')->validate(new stdClass()); //true ``` *** See also: * [Arr](Arr.md) * [Bool](Bool.md) * [CallableType](CallableType.md) * [Finite](Finite.md) * [Float](Float.md) * [Infinite](Infinite.md) * [Instance](Instance.md) * [Int](Int.md) * [Object](Object.md) * [Resource](Resource.md) * [Scalar](Scalar.md) * [String](String.md)