INNER CODE UNIT · TypeScript

deleteContact

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

async function deleteContact(contact: Contact): Promise<void> {
  return Contacts.deleteContact(contact);
}

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

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

async function getContactsByEmailAddress(
  emailAddress: string
): Promise<Contact[]> {
  return Contacts.getContactsByEmailAddress(emailAddress);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…