Type v::type(string $type) Validates the type of input. v::type('bool')->validate(true); // true v::type('callable')->validate(function (){}); // true v::type('object')->validate(new stdClass()); // true See also: ArrayVal BoolType CallableType Finite FloatType FloatVal Infinite Instance IntType IntVal NullType ObjectType ResourceType ScalarVal StringType Type