Gio.dbus_is_guid

function dbus_is_guid(string: String): Boolean {
    // Gjs wrapper for g_dbus_is_guid()
}
  

Checks if string is a D-Bus GUID.

See the D-Bus specification regarding what strings are valid D-Bus GUID (for example, D-Bus GUIDs are not RFC-4122 compliant).

Since 2.26

string

The string to check.

Returns

true if string is a guid, false otherwise.