Gio.dbus_is_member_name

function dbus_is_member_name(string: String): Boolean {
    // Gjs wrapper for g_dbus_is_member_name()
}
  

Checks if string is a valid D-Bus member (e.g. signal or method) name.

Since 2.26

string

The string to check.

Returns

true if valid, false otherwise.