MCPcopy Index your code
hub / github.com/tinyplex/tinybase / cellOrValueEqual

Function cellOrValueEqual

src/ui-react/hooks.ts:363–366  ·  view source on GitHub ↗
(thing1: any, thing2: any)

Source from the content-addressed store, hash-verified

361 0,
362];
363const cellOrValueEqual = (thing1: any, thing2: any): boolean =>
364 thing1 === thing2 ||
365 ((isObject(thing1) || isArray(thing1)) &&
366 jsonString(thing1) === jsonString(thing2));
367const IS_EQUALS: ((thing1: any, thing2: any) => boolean)[] = [
368 (obj1: any, obj2: any) => objIsEqual(obj1, obj2, cellOrValueEqual),
369 arrayIsEqual,

Callers

nothing calls this directly

Calls 2

isObjectFunction · 0.90
isArrayFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…