Gio.dbus_is_address

function dbus_is_address(string: String): Boolean {
    // Gjs wrapper for g_dbus_is_address()
}
  

Checks if string is a D-Bus address.

This doesn't check if string is actually supported by Gio.DBusServer or Gio.DBusConnection - use Gio.dbus_is_supported_address to do more checks.

Since 2.26

string

A string.

Returns

true if string is a valid D-Bus address, false otherwise.