@reactivex/ix-esnext-esm
Version:
The Interactive Extensions for JavaScript
19 lines (17 loc) • 552 B
JavaScript
import { IterableX } from '../../iterable/iterablex.js';
import { orderBy, orderByDescending } from '../../iterable/operators/orderby.js';
/**
* @ignore
*/
export function orderByProto(keySelector, comparer) {
return orderBy(keySelector, comparer)(this);
}
/**
* @ignore
*/
export function orderByDescendingProto(keySelector, comparer) {
return orderByDescending(keySelector, comparer)(this);
}
IterableX.prototype.orderBy = orderByProto;
IterableX.prototype.orderByDescending = orderByDescendingProto;
//# sourceMappingURL=orderby.js.map