@intlayer/core
Version:
Includes core Intlayer functions like translation, dictionary, and utility functions shared across multiple packages.
6 lines (5 loc) • 298 B
JavaScript
//#region src/utils/isSameKeyPath.ts
const isSameKeyPath = (keyPath1, keyPath2) => keyPath1.every((element, index) => keyPath2[index] && keyPath2[index].key === element.key && keyPath2[index].type === element.type);
//#endregion
export { isSameKeyPath };
//# sourceMappingURL=isSameKeyPath.mjs.map