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