isIPv6

external fun isIPv6(input: String): Boolean(source)

Returns true if input is an IPv6 address. Otherwise, returns false.

net.isIPv6('::1'); // returns true
net.isIPv6('fhqwhgads'); // returns false

Since

v0.3.0