@botonic/plugin-contentful
Version:
Botonic Plugin Contentful is one of the **[available](https://github.com/hubtype/botonic/tree/master/packages)** plugins for Botonic. **[Contentful](http://www.contentful.com)** is a CMS (Content Management System) which manages contents of a great variet
16 lines • 351 B
JavaScript
export function equalArrays(a1, a2) {
let i = a1.length;
if (i != a2.length) {
return false;
}
while (i--) {
if (a1[i] !== a2[i])
return false;
}
return true;
}
export function andArrays(a1, a2) {
const s2 = new Set(a2);
return a1.filter(i => s2.has(i));
}
//# sourceMappingURL=arrays.js.map