func slices.IndexFunc

4 uses

	slices (current package)
		slices.go#L107: func IndexFunc[S ~[]E, E any](s S, f func(E) bool) int {
		slices.go#L124: 	return IndexFunc(s, f) >= 0
		slices.go#L237: 	i := IndexFunc(s, del)

	crypto/tls
		handshake_server_tls13.go#L188: 		ki := slices.IndexFunc(hs.clientHello.keyShares, func(ks keyShare) bool {