Checks if this has an VCardAttributeParam with
name EVC_TYPE and typestr
as one of its values.
For example, for the vCard attribute:
TEL;TYPE=WORK,VOICE:(111) 555-1212
the following holds true:
g_assert_true (e_vcard_attribute_has_type (attr, "WORK") == TRUE);
g_assert_true (e_vcard_attribute_has_type (attr, "voice") == TRUE);
g_assert_true (e_vcard_attribute_has_type (attr, "HOME") == FALSE);
Comparisons against typestr
are case-insensitive.
this | |
typestr |
a string representing the type |
|