name, slug, sourceRef, category, subCategory, playUrl, variantHelpers, similarHelpers, position, signatures
| name |
slug |
sourceRef |
category |
subCategory |
playUrl |
variantHelpers |
similarHelpers |
position |
signatures |
| DropRightWhile |
droprightwhile |
slice.go#L486 |
core |
slice |
https://go.dev/play/p/3-n71oEC0Hz |
| core#slice#droprightwhile |
|
| core#slice#dropwhile |
| core#slice#drop |
| core#slice#dropright |
| core#slice#dropbyindex |
| core#slice#filterreject |
| core#slice#partitionby |
|
200 |
| func DropRightWhile[T any, Slice ~[]T](collection Slice, predicate func(item T) bool) Slice |
|
Drops elements from the end while the predicate returns true.