MCPcopy Index your code
hub / github.com/parse-community/parse-server / isObject

Method isObject

src/Utils.js:191–193  ·  view source on GitHub ↗

* Realm-safe check for object type. Uses `typeof` instead of `instanceof Object` * which fails across realms. Returns true for any non-null value where * `typeof` is `'object'`, including plain objects, arrays, dates, maps, sets, * regex, and boxed primitives (e.g. `new String()`). Returns

(value)

Source from the content-addressed store, hash-verified

189 * @returns {Boolean} Returns true if the value is a non-null object type.
190 */
191 static isObject(value) {
192 return typeof value === 'object' && value !== null;
193 }
194
195 /**
196 * Creates an object with all permutations of the original keys.

Callers 4

handleParseHeadersFunction · 0.80
Utils.spec.jsFile · 0.80
ParseAPI.spec.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected