func slices.Index
6 uses
slices (current package)
slices.go#L96: func Index[S ~[]E, E comparable](s S, v E) int {
slices.go#L118: return Index(s, v) >= 0
go/types
infer.go#L633: return slices.Index(w.tparams, t) >= 0
infer.go#L714: if i := slices.Index(w.tparams, tpar); i >= 0 {
infer.go#L783: if i := slices.Index(w.tparams, t); i >= 0 && w.inferred[i] != nil {
typestring.go#L314: if i := slices.Index(w.tparams.list(), t); i >= 0 {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)