Method

GLibVariantDictcontains

Declaration

gboolean
g_variant_dict_contains (
  GVariantDict* dict,
  const gchar* key
)

Description

Checks if key exists in dict.

Available since:2.40

Parameters

key const gchar*
 

The key to look up in the dictionary.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.

Return value

Returns: gboolean
 

TRUE if key is in dict.