UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

12 lines (10 loc) 284 B
import { IterableX } from '../../iterable/iterablex'; import { maxBy } from '../../iterable/operators/maxby'; /** * @ignore */ export function maxByProto(keyFn, cmp) { return maxBy(keyFn, cmp)(this); } IterableX.prototype.maxBy = maxByProto; //# sourceMappingURL=maxby.mjs.map