is_private method
Checks if an IPv4 address objects belongs to a private network RFC1918
Example:
ip = IPAddress "10.1.1.1/24" ip.private? /// true
Implementation
bool is_private() {
return this.vt_is_private(this);
}
Checks if an IPv4 address objects belongs to a private network RFC1918
Example:
ip = IPAddress "10.1.1.1/24" ip.private? /// true
bool is_private() {
return this.vt_is_private(this);
}