method

ipv4_private?

Importance_1
ipv4_private?() public

Returns true for IPv4 private address (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16). It returns false otherwise.

Show source
Register or log in to add new notes.