Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
82
const
JSON_ERROR_KEY =
'jsonError'
83
84
const
isPlainObject = (v) => v && typeof v ===
'object'
&& !Array.isArray(v)
85
86
const
getArrayOrObject = (items) => {
87
if
(items.length) {
Callers
2
getArrayOrObject
Function · 0.85
getJsonBuffer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected