-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
featureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestssearch & findThe find* family of functionsThe find* family of functions
Description
Essentially the same thing that already exists for sort: an option to specify a selector function, so that the maximum is determined by whatever the selector function returns, but then the maximum function returns an element from the original input sequence.
For example, maximum([(a=1,b=2),(a=2,b=1)], by=i->i.b) would return (a=1,b=2).
StefanKarpinski, yurivish, tkoolen, AzamatB, cstjean and 17 more
Metadata
Metadata
Assignees
Labels
featureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestssearch & findThe find* family of functionsThe find* family of functions