Format.IsIPv6

Returns true if the string is an IPv6 address

Function

const R = Format.IsIPv6('2001:0db8:85a3:0000:0000:8a2e:0370:7334')

Schema

{ format: 'ipv6' }

Remarks

Checks whether the input string is a valid IPv6 address.