source: trip-planner-front/node_modules/rxjs/internal/operators/distinctUntilKeyChanged.js@ bdd6491

Last change on this file since bdd6491 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 441 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var distinctUntilChanged_1 = require("./distinctUntilChanged");
4function distinctUntilKeyChanged(key, compare) {
5 return distinctUntilChanged_1.distinctUntilChanged(function (x, y) { return compare ? compare(x[key], y[key]) : x[key] === y[key]; });
6}
7exports.distinctUntilKeyChanged = distinctUntilKeyChanged;
8//# sourceMappingURL=distinctUntilKeyChanged.js.map
Note: See TracBrowser for help on using the repository browser.