blob: 45496864afeec9b7c864203389773d645e05aacb (
plain) (
blame)
1
2
3
4
5
6
|
export default function isFunction(input) {
return (
(typeof Function !== 'undefined' && input instanceof Function) ||
Object.prototype.toString.call(input) === '[object Function]'
);
}
|