Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ isObject
Function
isObject
src/utils/isObject.js:3–5 ·
view source on GitHub ↗
(thing)
Source
from the content-addressed store, hash-verified
1
const
toString = Object.prototype.toString;
2
3
export
default
function
isObject(thing) {
4
return
toString.call(thing) ===
'[object Object]'
;
5
}
Callers
2
indent
Method · 0.50
addSource
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…