1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports["default"] = isFunction;
|
7 |
|
8 | function isFunction(f) {
|
9 | // eslint-disable-next-line no-var
|
10 | var type = Object.prototype.toString.call(f).toLowerCase();
|
11 | return type.search(/\bobject\b/g) !== -1 && type.search(/\bfunction\b/g) !== -1;
|
12 | } |
\ | No newline at end of file |