name, slug, sourceRef, category, subCategory, signatures, playUrl, variantHelpers, similarHelpers, position
| name |
slug |
sourceRef |
category |
subCategory |
signatures |
playUrl |
variantHelpers |
similarHelpers |
position |
| Fill |
fill |
mutable/slice_example_test.go#L72 |
mutable |
slice |
| func Fill[T any, Slice ~[]T](collection Slice, initial T) |
|
https://go.dev/play/p/VwR34GzqEub |
|
| core#slice#fill |
| core#slice#repeat |
| core#slice#times |
|
60 |
Fills all elements of a slice with the specified initial value. The operation modifies the slice in place.