kaven-basic - v6.0.0
    Preparing search index...

    Function IsPrivateIP

    • Determines whether the given IP address is a private IPv4 address.

      Private IP ranges checked:

      • 10.0.0.0 to 10.255.255.255
      • 172.16.0.0 to 172.31.255.255
      • 192.168.0.0 to 192.168.255.255

      Parameters

      • ip: string

        The IPv4 address as a string.

      Returns boolean

      true if the IP address is private, otherwise false.

      4.2.4

      2023-09-02