node/rxjs/dist/cjs/internal/operators/distinctUntilKeyChanged.js
raw| 1 | "use strict"; |
| 2 | Object.defineProperty(exports, "__esModule", { value: true }); |
| 3 | exports.distinctUntilKeyChanged = void 0; |
| 4 | var distinctUntilChanged_1 = require("./distinctUntilChanged"); |
| 5 | function distinctUntilKeyChanged(key, compare) { |
| 6 | return distinctUntilChanged_1.distinctUntilChanged(function (x, y) { return (compare ? compare(x[key], y[key]) : x[key] === y[key]); }); |
| 7 | } |
| 8 | exports.distinctUntilKeyChanged = distinctUntilKeyChanged; |
| 9 | //# sourceMappingURL=distinctUntilKeyChanged.js.map |