Gio.dbus_is_supported_address

function dbus_is_supported_address(string: String): Boolean {
    // Gjs wrapper for g_dbus_is_supported_address()
}
  

Like Gio.dbus_is_address but also checks if the library suppors the transports in string and that key/value pairs for each transport are valid.

Since 2.26

string

A string.

Returns

true if string is a valid D-Bus address that is supported by this library, false if @error is set.