kinetex - v1.0.0-rc.1
    Preparing search index...

    Function isIPAddress

    • Check whether a host string is an IPv4 or IPv6 address.

      Parameters

      • host: string

        Host string to check (may include brackets for IPv6, e.g. "[::1]")

      Returns boolean

      true if the host is an IP address