- Functions
- cidrcontains Function
cidrcontains
Function
cidrcontains
determines whether a given IP address or an address prefix given in CIDR notation is within a given IP network address prefix.
Note that both arguments must belong to the same address family, either IPv4 or IPv6. A family mismatch will result in an error.