UNPKG

sequency

Version:

Functional sequences for processing iterable data in JavaScript

17 lines 605 B
Object.defineProperty(exports, "__esModule", { value: true }); exports.SortedDescending = void 0; var SortedDescending = /** @class */ (function () { function SortedDescending() { } /** * Returns a new sequence with all elements sorted in reverse (descending) natural order. * * @returns {Sequence<T>} */ SortedDescending.prototype.sortedDescending = function () { return this.sorted(function (it) { return it.reverseOrder(); }); }; return SortedDescending; }()); exports.SortedDescending = SortedDescending; //# sourceMappingURL=sortedDescending.js.map