func strings.IndexFunc
11 uses
strings (current package)
strings.go#L78: return IndexFunc(s, f) >= 0
strings.go#L912: func IndexFunc(s string, f func(rune) bool) int {
github.com/google/go-cmp/cmp
report_reflect.go#L386: if utf8.ValidString(s) && strings.IndexFunc(s, rawInvalid) < 0 {
go/doc
reader.go#L1007: if i := strings.IndexFunc(base, notIdentifier); i >= 0 {
internal/buildcfg
cfg.go#L313: i := strings.IndexFunc(v, func(r rune) bool {
mime
grammar.go#L31: return strings.IndexFunc(s, isNotTokenChar) < 0
mediatype.go#L262: notPos := strings.IndexFunc(v, isNotTokenChar)
net/http
cookie.go#L534: return strings.IndexFunc(raw, isNotToken) < 0
request.go#L858: return len(method) > 0 && strings.IndexFunc(method, isNotToken) == -1
testing
benchmark.go#L385: if strings.IndexFunc(unit, unicode.IsSpace) >= 0 {
text/template
funcs.go#L732: if strings.IndexFunc(s, jsIsSpecial) < 0 {