name, slug, sourceRef, category, subCategory, playUrl, variantHelpers, similarHelpers, position, signatures
| name |
slug |
sourceRef |
category |
subCategory |
playUrl |
variantHelpers |
similarHelpers |
position |
signatures |
| CutPrefix |
cutprefix |
slice.go#L800 |
core |
slice |
https://go.dev/play/p/7Plak4a1ICl |
|
| core#slice#cutsuffix |
| core#slice#cut |
| core#slice#trimprefix |
| core#slice#trimleft |
| core#slice#slice |
| core#slice#drop |
| core#slice#hasprefix |
|
0 |
| func CutPrefix[T comparable, Slice ~[]T](collection Slice, separator Slice) (after Slice, found bool) |
|
Returns the collection without the provided leading prefix and a boolean indicating whether it was present.