func strings.IndexFunc

8 uses

	strings (current package)
		strings.go#L763: 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 {

	mime
		grammar.go#L31: 	return strings.IndexFunc(s, isNotTokenChar) < 0
		mediatype.go#L267: 	notPos := strings.IndexFunc(v, isNotTokenChar)

	net/http
		cookie.go#L463: 	return strings.IndexFunc(raw, isNotToken) < 0
		request.go#L826: 	return len(method) > 0 && strings.IndexFunc(method, isNotToken) == -1

	testing
		benchmark.go#L353: 	if strings.IndexFunc(unit, unicode.IsSpace) >= 0 {

	text/template
		funcs.go#L703: 	if strings.IndexFunc(s, jsIsSpecial) < 0 {