☰
Debian Codegraph
@
0.1.1-5.1
0.1.1-5
/
/
vendor
/
static
/
moment
/
src
/
lib
/
utils
/
is-function.js
☽
☼
vendor/static/moment/src/lib/utils/is-function.js
code
plain
raw
Expat
JS Foundation and other contributors; Tim Wood, Iskren Chernev, Moment.js contributors
debian/copyright
1
export default function isFunction(input) {
2
return (
3
(typeof Function !== 'undefined' && input instanceof Function) ||
4
Object.prototype.toString.call(input) === '[object Function]'
5
);
6
}