Gio.dbus_is_interface_name

function dbus_is_interface_name(string: String): Boolean {
    // Gjs wrapper for g_dbus_is_interface_name()
}
  

Checks if string is a valid D-Bus interface name.

Since 2.26

string

The string to check.

Returns

true if valid, false otherwise.