Documents for @litert/utils-network
    Preparing search index...

    Function isValidIPv6Address

    • Check if a string is a valid IPv6 address.

      Due to the compatibility of IPv6 notations, an IPv4 address is also a valid IPv6 address.

      Parameters

      • ip: string

        The string to be checked.

      Returns boolean

      True if the input is a valid IPv6 address, false otherwise.