MCPcopy
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

1export 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.jsFile · 0.85
eachFunction · 0.85
deepAssignFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected