CallableType()
Validates whether the pseudo-type of the input is callable.
v::callableType()->isValid(function () {}); // true
v::callableType()->isValid('trim'); // true
v::callableType()->isValid([new DateTime(), 'format']); // true
- Callables
- Types
Version | Description |
---|---|
1.0.0 | Created |
See also: