MCPcopy 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

1const toString = Object.prototype.toString;
2
3export default function isObject(thing) {
4 return toString.call(thing) === '[object Object]';
5}

Callers 2

indentMethod · 0.50
addSourceMethod · 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…