UNPKG

fumadocs-core

Version:

The React.js library for building a documentation website

9 lines (8 loc) • 272 B
//#region 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; } //#endregion export { isEqualShallow as t };