Gio.InetAddressMask.prototype.matches

function matches(address: Gio.InetAddress): Boolean {
    // Gjs wrapper for g_inet_address_mask_matches()
}
  

Tests if address falls within the range described by mask.

Since 2.32

address

a Gio.InetAddress

Returns

whether address falls within the range described by mask.