Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
270 bytes
|
Line | |
---|
1 | import { distinctUntilChanged } from './distinctUntilChanged';
|
---|
2 | export function distinctUntilKeyChanged(key, compare) {
|
---|
3 | return distinctUntilChanged((x, y) => compare ? compare(x[key], y[key]) : x[key] === y[key]);
|
---|
4 | }
|
---|
5 | //# sourceMappingURL=distinctUntilKeyChanged.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.