# IsIPInRange()

Checks if an ip is in the range of a list of given ips. IPv4 and IPv6 are supported.

```
IsIPInRange( ips=any, ip=string );
```

**Returns:** boolean

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| ips | any | Yes | A comma separated list of strings or a string array of ip definitions. The following patterns are allowed: - a single ip, like "127.0.0.1" - an ip with wildcards like "127.0.0.*", in this case all ips between "127.0.0.0" and "127.0.0.255" are valid - an ip range like "127.0.0.1-127.0.0.10", in this case all ips between "127.0.0.1" and "127.0.0.10" are valid |  |
| ip | string | Yes | ip to search |  |

# Examples

*There are currently no examples for this function.*







# Categories

[Decision logic](../../categories/decision.md)

# See Also

[IsIPv6()](isipv6.md), [IsLocalHost()](islocalhost.md)