async function doMerge(groups) {
        const duplicateGroups = prepareGroups(groups);
        if (!Object.keys(duplicateGroups).length) {
            throw new Error('Not enough contacts selected');
        }
        return contactEditor.merge(prepareMerge(duplicateGroups));
    }
/**
     * Perform the merge of a group of contacts.
     * @param {Object} groups
     * @returns {Promise} promise for when the merge has completed
     */
Perform the merge of a group of contacts.
@param {Object} groups
@returns {Promise} promise for when the merge has completed
Perform the merge of a group of contacts . @param { Object } groups @returns { Promise } promise for when the merge has completed
async function doMerge(groups) {
        const duplicateGroups = prepareGroups(groups);
        if (!Object.keys(duplicateGroups).length) {
            throw new Error('Not enough contacts selected');
        }
        return contactEditor.merge(prepareMerge(duplicateGroups));
    }
async function doMerge ( groups ) { const duplicateGroups = prepareGroups ( groups ) ; if ( ! Object . keys ( duplicateGroups ) . length ) { throw new Error ( 'Not enough contacts selected' ) ; } return contactEditor . merge ( prepareMerge ( duplicateGroups ) ) ; }
Perform the merge of a group of contacts.
Perform the merge of a group of contacts .