contactGroup

Returns the contact group of the given contact based on the groupBy provided. Contacts whose primary sort key does not start with a letter or language character are put into the group MISCELLANEOUS_CONTACT_GROUP. For example, a contact whose primary sort key starts with "5" or ">" or "-" are part of this group.

Parameters

groupBy

defines which Contact property to use for grouping.