PageRenderTime 20ms CodeModel.GetById 14ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/node_modules/moment/src/lib/utils/is-function.js

https://bitbucket.org/coleman333/smartsite
JavaScript | 3 lines | 3 code | 0 blank | 0 comment | 1 complexity | 10f335ae8ef525e7cad21b305613fff3 MD5 | raw file
1export default function isFunction(input) {
2    return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';
3}