source:
node_modules/ramda/es/internal/_isFunction.js
Last change on this file was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 253 bytes |
Line | |
---|---|
1 | export default 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 | } |
Note:
See TracBrowser
for help on using the repository browser.