Debian Codegraph @

vendor/static/moment/src/lib/utils/is-object.js

raw
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 }