is_signature


Description:

public static bool is_signature (string signature)

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 Variant.signature.

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

Parameters:

string

a normal C nul-terminated string

Returns:

true if string is a D-Bus type signature