Method NetUtils.NetMask()->ip_in()
- Method ip_in
bool ip_in(int|string ip)
- Description
Match an IP number against the mask.
- Returns
true if the ip is in the network, false otherwise.
- Parameter ip
The IP address to check, in either string or binary representation.