OrderBy

OrderBy is a sorter over a data set that passes the first and immediately next element of the data set to a lambda expression and returns a sorted data set based on the criteria of the lambda expression.

JavaScript (Sort)

var sortedPencils = pencils.sort((previous, current) => {
    return previous.size > current.size ? 1 : 0;
});

fuss/lambda_calculus/functional_programming/aggreagators/orderby.txt ยท Last modified: 2022/04/19 08:28 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.