INNER CODE UNIT · TypeScript

editExistingContact

morenoh149/react-native-contacts · index.ts:45

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);
}

async function getContactsMatchingString(str: string): Promise<Contact[]> {
  return Contacts.getContactsMatchingString(str);
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…