func strings.IndexFunc

6 uses

	strings (current package)
		strings.go#L76: 	return IndexFunc(s, f) >= 0
		strings.go#L830: func IndexFunc(s string, f func(rune) bool) int {

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

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