Variant.isSignature

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. Since 2.24

class Variant
static
int
isSignature
(
string string
)

Parameters

string string

a normal C nul-terminated string

Return Value

Type: int

TRUE if string is a D-Bus type signature

Meta