mirror of
https://github.com/Respect/Validation.git
synced 2026-03-18 08:09:51 +01:00
643 B
643 B
CallableType
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
Changelog
| Version | Description |
|---|---|
| 1.0.0 | Created |
See also: