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