ottoman
Version:
Ottoman Couchbase ODM
7 lines • 324 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.arrayDiff = void 0;
// Returns the elements of arr1 that do not exist in arr2
const arrayDiff = (arr1, arr2) => arr1.filter((item) => !arr2.find((ref) => ref === item));
exports.arrayDiff = arrayDiff;
//# sourceMappingURL=array-diff.js.map