mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
7 lines
354 B
JavaScript
7 lines
354 B
JavaScript
|
/** PURE_IMPORTS_START _distinctUntilChanged PURE_IMPORTS_END */
|
||
|
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
|