INNER CODE UNIT · TypeScript
getAll
morenoh149/react-native-contacts · index.ts:7
async function getAll(): Promise<Contact[]> {
return Contacts.getAll();
}
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);