MCPcopy Create free account
hub / github.com/nodejs/node / isPlainObject

Function isPlainObject

deps/npm/lib/utils/display.js:84–84  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

82const JSON_ERROR_KEY = 'jsonError'
83
84const isPlainObject = (v) => v && typeof v === 'object' && !Array.isArray(v)
85
86const getArrayOrObject = (items) => {
87 if (items.length) {

Callers 2

getArrayOrObjectFunction · 0.85
getJsonBufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected