Gio.dbus_is_name

function dbus_is_name(string: String): Boolean {
    // Gjs wrapper for g_dbus_is_name()
}
  

Checks if string is a valid D-Bus bus name (either unique or well-known).

Since 2.26

string

The string to check.

Returns

true if valid, false otherwise.