> For the complete documentation index, see [llms.txt](https://docs.apica.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apica.io/flow/functions/ascent.net.md).

# Ascent.net

#### Ascent.net.isIp

Checks if a string is a valid IP address (IPV4 or IPV6).

<pre><code><strong>ascent.net.isIp(input: string): boolean;
</strong></code></pre>

| Parameter | Type   | Description                  |
| --------- | ------ | ---------------------------- |
| Input     | String | IP address value (IPV4/IPV6) |

#### Ascent.net.isIpprivate

Checks if an IP address belongs to a private range.

<pre><code><strong>ascent.net.isIpprivate(input: string): boolean;
</strong></code></pre>

| Parameter | Type   | Description                  |
| --------- | ------ | ---------------------------- |
| Input     | String | IP address value (IPV4/IPV6) |

#### Ascent.net.isIpv4

Checks if string is a valid IPv4 address

<pre><code><strong>ascent.net.isIpv4(input: string): boolean;
</strong></code></pre>

| Parameter | Type   | Description        |
| --------- | ------ | ------------------ |
| Input     | String | IPv4 address value |

#### Ascent.net.isIpv6

Checks if string is a valid IPv6 address

<pre><code><strong>ascent.net.isIpv6(input: string): boolean;
</strong></code></pre>

| Parameter | Type   | Description        |
| --------- | ------ | ------------------ |
| Input     | String | IPv6 address value |
