name, slug, sourceRef, category, subCategory, playUrl, variantHelpers, similarHelpers, position, signatures
| name |
slug |
sourceRef |
category |
subCategory |
playUrl |
variantHelpers |
similarHelpers |
position |
signatures |
| MinBy |
minby |
find.go#L314 |
core |
find |
|
|
| core#find#min |
| core#find#minindex |
| core#find#minindexby |
| core#find#max |
| core#find#maxby |
| core#find#maxindex |
| core#find#maxindexby |
| core#math#sum |
| core#math#mean |
| core#math#product |
| core#math#mode |
|
160 |
| func MinBy[T any](collection []T, comparison func(a T, b T) bool) T |
|
Searches the minimum value of a collection using the given comparison function. Returns the first minimal value; zero value when empty.