Tests if @hostname is the string form of an IPv4 or IPv6 address. (Eg, "192.168.0.1".)
a hostname (or IP address in string form)
%TRUE if @hostname is an IP address
2.22
See Implementation
Tests if @hostname is the string form of an IPv4 or IPv6 address. (Eg, "192.168.0.1".)