INNER CODE UNIT · TypeScript
viewExistingContact
morenoh149/react-native-contacts · index.ts:39
async function viewExistingContact(contact: {
recordID: string;
}): Promise<Contact | void> {
return Contacts.viewExistingContact(contact);
}
async function editExistingContact(contact: Contact): Promise<Contact> {
return Contacts.editExistingContact(contact);
}
async function updateContact(
contact: Partial<Contact> & { recordID: string }
): Promise<void> {
return Contacts.updateContact(contact);
}
async function deleteContact(contact: Contact): Promise<void> {
return Contacts.deleteContact(contact);