# dns/ip? Predicate: is the string an IPv4 or IPv6 literal? ## Syntax
[dns/ip? $s]
## Parameters - `$s` — value to test (string) ## Examples
[dns/ip? "127.0.0.1"]     # => true
[dns/ip? "::1"]           # => true
[dns/ip? "example.com"]   # => false
[dns/ip? "999.0.0.1"]     # => false
## Returns `true` when the string parses as an IPv4 or IPv6 literal, else `false`. ## See Also `dns/ipv4?`, `dns/ipv6?`, `dns/parse`