isSignature

fun isSignature(string: String): Boolean

Determines if a given string is a valid D-Bus type signature. You should ensure that a string is a valid D-Bus type signature before passing it to g_variant_new_signature().

D-Bus type signatures consist of zero or more definite #GVariantType strings in sequence.

Return

true if @string is a D-Bus type signature

Since

2.24

Parameters

string

a normal C nul-terminated string