isFunction function

IValidator isFunction()

Returns a IValidator that checks if the given value is a Function For better performance and readability, use the $isFunction variable directly.

Implementation

IValidator isFunction() => isType<Function>();