Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm2015 / internal / operators / max.js
1 import { reduce } from './reduce';
2 export function max(comparer) {
3     const max = (typeof comparer === 'function')
4         ? (x, y) => comparer(x, y) > 0 ? x : y
5         : (x, y) => x > y ? x : y;
6     return reduce(max);
7 }
8 //# sourceMappingURL=max.js.map