net/netip.Prefix.Contains (method) one use net/netip (current package) netip.go#L1347: func (p Prefix) Contains(ip Addr) bool {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)