INNER CODE UNIT · TypeScript
getAllWithoutPhotos
morenoh149/react-native-contacts · index.ts:11
async function getAllWithoutPhotos(): Promise<Contact[]> {
return Contacts.getAllWithoutPhotos();
}
async function getContactById(contactId: string): Promise<Contact | null> {
return Contacts.getContactById(contactId);
}
async function getCount(): Promise<number> {
return Contacts.getCount();
}
async function getPhotoForId(contactId: string): Promise<string> {
return Contacts.getPhotoForId(contactId);
}
async function addContact(contact: Partial<Contact>): Promise<Contact> {
return Contacts.addContact(contact);