TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 2.22
Tests if hostname is the string form of an IPv4 or IPv6 address. (Eg, "192.168.0.1".)
hostname
Since 2.66, IPv6 addresses with a zone-id are accepted (RFC6874).
a hostname (or IP address in string form)
true if hostname is an IP address
true
2.22
Tests if
hostnameis the string form of an IPv4 or IPv6 address. (Eg, "192.168.0.1".)Since 2.66, IPv6 addresses with a zone-id are accepted (RFC6874).