MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / isObject

Function isObject

tests/test_code/js/moment/moment.js:32–39  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

30 }
31
32 function isObject(input) {
33 // IE8 will treat undefined and null as object if it wasn't for
34 // input != null
35 return (
36 input != null &&
37 Object.prototype.toString.call(input) === '[object Object]'
38 );
39 }
40
41 function hasOwnProp(a, b) {
42 return Object.prototype.hasOwnProperty.call(a, b);

Callers 5

mergeConfigsFunction · 0.85
configFromInputFunction · 0.85
createLocalOrUTCFunction · 0.85
isMomentInputObjectFunction · 0.85
isCalendarSpecFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected