wishthis/node_modules/rxjs/dist/esm5/internal/operators/distinctUntilKeyChanged.js

5 lines
288 B
JavaScript
Raw Normal View History

2022-01-21 08:28:41 +00:00
import { distinctUntilChanged } from './distinctUntilChanged';
export function distinctUntilKeyChanged(key, compare) {
return distinctUntilChanged(function (x, y) { return compare ? compare(x[key], y[key]) : x[key] === y[key]; });
}
2022-04-07 07:06:43 +00:00
//# sourceMappingURL=distinctUntilKeyChanged.js.map