v::callableType()
Validates if the input is a callable value.
v::callableType()->validate(function () {}); //true v::callableType()->validate('trim'); //true v::callableType()->validate(array(new ObjectType, 'methodName')); //true
See also: