net/netip.Addr.Is4 (method)
14 uses
net/netip (current package)
netip.go#L460: func (ip Addr) Is4() bool {
netip.go#L520: if ip.Is4() {
netip.go#L535: if ip.Is4() {
netip.go#L550: if ip.Is4() {
netip.go#L576: if ip.Is4() {
netip.go#L604: if ip.Is4() && (ip == IPv4Unspecified() || ip == AddrFrom4([4]byte{255, 255, 255, 255})) {
netip.go#L620: if ip.Is4() {
netip.go#L723: if ip.Is4() {
netip.go#L740: if ip.Is4() {
netip.go#L1097: if v6 && ipp.ip.Is4() {
netip.go#L1354: if ip.Is4() {
netip.go#L1384: if p.ip.Is4() != o.ip.Is4() {
net
ipsock_posix.go#L205: if !addr.Is4() {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)