name, slug, sourceRef, category, subCategory, playUrl, variantHelpers, similarHelpers, position, signatures
| name |
slug |
sourceRef |
category |
subCategory |
playUrl |
variantHelpers |
similarHelpers |
position |
signatures |
| ReduceRight |
reduceright |
slice.go#L97 |
core |
slice |
https://go.dev/play/p/Fq3W70l7wXF |
|
| core#slice#reduce |
| core#slice#sum |
| core#slice#product |
| core#slice#mean |
| core#slice#max |
| core#slice#min |
|
60 |
| func ReduceRight[T any, R any](collection []T, accumulator func(agg R, item T, index int) R, initial R) R |
|
Like Reduce except it iterates from right to left and accumulates into a single value.