Method

PurpleTagsexists

unstable since: 3.0

Declaration [src]

gboolean
purple_tags_exists (
  PurpleTags* tags,
  const char* tag
)

Description [src]

Checks if tag exists in tags.

This checks both the tag name and value.

Available since: 3.0

Parameters

tag

Type: const char*

The tag data.

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

Return value

Type: gboolean

TRUE if tag is in tags, otherwise FALSE.