INNER CODE UNIT · TypeScript
getCount
morenoh149/react-native-contacts · index.d.ts:4
export function getCount(): Promise<number>;
export function getPhotoForId(contactId: string): Promise<string>;
export function addContact(contact: Partial<Contact>): Promise<Contact>;
export function openContactForm(
contact: Partial<Contact>
): Promise<Contact | null>;
export function openExistingContact(contact: Contact): Promise<Contact>;
export function viewExistingContact(contact: {
recordID: string;
}): Promise<Contact | void>;
export function editExistingContact(contact: Contact): Promise<Contact>;
export function updateContact(
contact: Partial<Contact> & { recordID: string }
): Promise<void>;
export function deleteContact(contact: Contact): Promise<void>;
export function getContactsMatchingString(str: string): Promise<Contact[]>;
export function getContactsByPhoneNumber(
phoneNumber: string