action-debian-package/node_modules/ramda/es/internal/_isFunction.js
Dawid Dziurla 9308795b8b
update
2020-03-26 15:37:35 +01:00

4 lines
253 B
JavaScript

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]';
}