# IP Address In CIDR Range Check

Returns true if an IP belongs to a range (subnet), false otherwise. IP Address In CIDR Range Check lives in the **Networking** category of the `fx` menu.

## Parameters

| Parameter | Type   | Required | Default | Description                                            |
| --------- | ------ | -------- | ------- | ------------------------------------------------------ |
| Input     | string | yes      | —       | Value to transform. Previous step output or a literal. |
| Subnet    | string | yes      | —       | IP network                                             |

`Input` is the primary value (previous step output or a literal).

## Returned value

| Type     | Description                                                  |
| -------- | ------------------------------------------------------------ |
| `string` | Result of the IP Address In CIDR Range Check transformation. |

## Example

<details>
<summary>Check IP membership in a CIDR</summary>

Return whether an IP address belongs to a subnet.

1. Set the IP and CIDR fields from previous steps or literals.

2. Confirm **Output value** is `true` or `false`.

</details>
