action-debian-package/node_modules/ramda/es/internal/_isFunction.js

4 lines
253 B
JavaScript
Raw Normal View History

2020-03-26 14:37:35 +00:00
export default function _isFunction(x) {
var type = Object.prototype.toString.call(x);
return type === '[object Function]' || type === '[object AsyncFunction]' || type === '[object GeneratorFunction]' || type === '[object AsyncGeneratorFunction]';
}