1 | function _isFunction(x) {
|
2 | var type = Object.prototype.toString.call(x);
|
3 | return type === '[object Function]' || type === '[object AsyncFunction]' || type === '[object GeneratorFunction]' || type === '[object AsyncGeneratorFunction]';
|
4 | }
|
5 |
|
6 | module.exports = _isFunction; |
\ | No newline at end of file |