MCPcopy Index your code
hub / github.com/node-config/node-config / isObject

Method isObject

lib/util.js:779–781  ·  view source on GitHub ↗

* Is the specified argument a regular javascript object? * * The argument is an object if it's a JS object, but not an array. * * @method isObject * @param {unknown} obj An argument of any type. * @return {obj is object} TRUE if the arg is an object, FALSE if not

(obj)

Source from the content-addressed store, hash-verified

777 * @return {obj is object} TRUE if the arg is an object, FALSE if not
778 */
779 static isObject(obj) {
780 return (obj !== null) && (typeof obj === 'object') && !(Array.isArray(obj));
781 }
782
783 /**
784 * Is the specified argument a javascript promise?

Callers 6

makeImmutableMethod · 0.95
extendDeepMethod · 0.80
_substituteVarsMethod · 0.80
makeImmutablePartialMethod · 0.80
attachProtoDeepMethod · 0.80
0-util.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected