Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jlmakes/scrollreveal
/ isObject
Function
isObject
src/utils/is-object.js:1–8 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
1
export
default
function
isObject(x) {
2
return
(
3
x !== null &&
4
x instanceof Object &&
5
(x.constructor === Object ||
6
Object.prototype.toString.call(x) ===
'[object Object]'
)
7
)
8
}
Callers
3
is-object.spec.js
File · 0.85
each
Function · 0.85
deepAssign
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected