TenantAtlas/apps/platform/.pnpm-store/v10/files/65/cc1ebd01be598c3d1ee128c35f0cebe6101dad61117fdafe3d3692101c38179945a110b283916f331b831c4b8b0b2caa622411cde79721f0d961e1bb605f52
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

5 lines
272 B
Plaintext

import { distinctUntilChanged } from './distinctUntilChanged';
export function distinctUntilKeyChanged(key, compare) {
return distinctUntilChanged((x, y) => (compare ? compare(x[key], y[key]) : x[key] === y[key]));
}
//# sourceMappingURL=distinctUntilKeyChanged.js.map