func bytes.IndexFunc

2 uses

	bytes (current package)
		bytes.go#L91: 	return IndexFunc(b, f) >= 0
		bytes.go#L856: func IndexFunc(s []byte, f func(r rune) bool) int {