Every new change
This commit is contained in:
8
node_modules/rxjs/_esm2015/internal/operators/max.js
generated
vendored
Normal file
8
node_modules/rxjs/_esm2015/internal/operators/max.js
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
import { reduce } from './reduce';
|
||||
export function max(comparer) {
|
||||
const max = (typeof comparer === 'function')
|
||||
? (x, y) => comparer(x, y) > 0 ? x : y
|
||||
: (x, y) => x > y ? x : y;
|
||||
return reduce(max);
|
||||
}
|
||||
//# sourceMappingURL=max.js.map
|
Reference in New Issue
Block a user