Gio.InetAddress.prototype.get_family

function get_family(): Gio.SocketFamily {
    // Gjs wrapper for g_inet_address_get_family()
}
  

Gets address's family

Since 2.22

Returns

address's family