☰
Debian Codegraph
@
0.1.1-5.1
0.1.1-5
/
/
vendor
/
static
/
moment
/
src
/
lib
/
utils
/
is-object.js
☽
☼
vendor/static/moment/src/lib/utils/is-object.js
code
plain
raw
Expat
JS Foundation and other contributors; Tim Wood, Iskren Chernev, Moment.js contributors
debian/copyright
1
export default function isObject(input) {
2
// IE8 will treat undefined and null as object if it wasn't for
3
// input != null
4
return (
5
input != null &&
6
Object.prototype.toString.call(input) === '[object Object]'
7
);
8
}