Checks whether a value is any function.
You can force the TS predicate with a type argument.
isFunction(class Trail {}) // trueisFunction(async () => {}) // trueisFunction(function () {}) // true Copy
isFunction(class Trail {}) // trueisFunction(async () => {}) // trueisFunction(function () {}) // true
3.0.0-beta.1
Checks whether a value is any function.
You can force the TS predicate with a type argument.