aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/esm5/internal/operators/distinctUntilKeyChanged.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/dist/esm5/internal/operators/distinctUntilKeyChanged.js')
-rw-r--r--node_modules/rxjs/dist/esm5/internal/operators/distinctUntilKeyChanged.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/esm5/internal/operators/distinctUntilKeyChanged.js b/node_modules/rxjs/dist/esm5/internal/operators/distinctUntilKeyChanged.js
new file mode 100644
index 0000000..99e47a5
--- /dev/null
+++ b/node_modules/rxjs/dist/esm5/internal/operators/distinctUntilKeyChanged.js
@@ -0,0 +1,5 @@
+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]); });
+}
+//# sourceMappingURL=distinctUntilKeyChanged.js.map \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage