MCPcopy Create free account
hub / github.com/sshwsfc/xadmin / if

Function if

xadmin-dashboard/src/components/Cell.js:64–66  ·  view source on GitHub ↗
(objA === objB)

Source from the content-addressed store, hash-verified

62
63const shallowEqual = (objA, objB) => {
64 if (objA === objB) {
65 return true
66 }
67 if(!_.isPlainObject(objA) || !_.isPlainObject(objB)) {
68 return false
69 }

Callers 3

Cell.jsFile · 0.70
ComponentTree.jsFile · 0.50
PropForm.jsFile · 0.50

Calls 1

shallowEqualFunction · 0.85

Tested by

no test coverage detected