@intlayer/core
Version:
Includes core Intlayer functions like translation, dictionary, and utility functions shared across multiple packages.
7 lines (5 loc) • 312 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
exports.isSameKeyPath = isSameKeyPath;
//# sourceMappingURL=isSameKeyPath.cjs.map