def ipv4

bend-kit-dns@0.7.0.0 · dns.bend:403

import bend-kit-dns@0.7.0.0/dns.bend as Dns
import Base

403# Digits and dots; TCP.connect rejects anything else that is not an address.
404def ipv4(+s: String) -> Bool:
405  Bool.and(Bool.not(String.is_empty(s)), ipv4.go(s))

Uses (6)

Used by (1)