TenantAtlas/apps/platform/.pnpm-store/v10/files/38/7150683bf1f271d593909a6a6c2ca6ba59694e5f915dc792dc524be2edf34ef8f56db0ca2d29772fb7a55a0a670717f13ba6646bba18abd715ae23564734c8
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

6 lines
295 B
Plaintext

import { reduce } from './reduce';
import { isFunction } from '../util/isFunction';
export function min(comparer) {
return reduce(isFunction(comparer) ? function (x, y) { return (comparer(x, y) < 0 ? x : y); } : function (x, y) { return (x < y ? x : y); });
}
//# sourceMappingURL=min.js.map