func slices.Index
7 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
decl.go#L574: if tpar, ok := rhs.(*TypeParam); ok && alias.tparams != nil && slices.Index(alias.tparams.list(), tpar) >= 0 {
infer.go#L633: return slices.Index(w.tparams, t) >= 0
infer.go#L715: if i := slices.Index(w.tparams, tpar); i >= 0 {
infer.go#L784: 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.8.4. (GOOS=linux GOARCH=amd64)