UNPKG

fumadocs-core

Version:

The React.js library for building a documentation website

8 lines (7 loc) • 252 B
// src/utils/is-equal.ts function isEqualShallow(a, b) { if (a === b) return true; if (Array.isArray(a) && Array.isArray(b)) return b.length === a.length && a.every((v, i) => isEqualShallow(v, b[i])); return false; } export { isEqualShallow as t };