Gio.InetAddress.prototype.get_is_loopback

function get_is_loopback(): Boolean {
    // Gjs wrapper for g_inet_address_get_is_loopback()
}
  

Tests whether address is the loopback address for its family.

Since 2.22

Returns

true if address is the loopback address for its family.