Functionsis_v6Version: NextOn this pageis_v6Checks whether an IP address has version number 6.is_v6(x:ip) -> boolDescriptionThe ipv6 function checks whether the version number of a given IP address x is 6.ExamplesCheck if an IP is IPv6from { x: 1.2.3.4.is_v6(), y: ::1.is_v6(), }{ x: false, y: true, }See Alsois_v4