Home
last modified time | relevance | path

Searched refs:uniqueItems (Results 1 – 6 of 6) sorted by relevance

/expo/packages/@expo/cli/src/utils/
H A Dstrings.ts12 const uniqueItems = items.filter((value, index, array) => array.indexOf(value) === index); constant
14 if (uniqueItems.length === 1) {
15 return uniqueItems[0];
18 if (limit && uniqueItems.length > limit) {
19 const first = uniqueItems.slice(0, limit);
20 const remaining = uniqueItems.length - limit;
24 const last = uniqueItems.pop();
25 return `${uniqueItems.join(', ')}${uniqueItems.length >= 2 ? ',' : ''} and ${last}`;
/expo/packages/@expo/metro-config/src/
H A DgetWatchFolders.ts95 return uniqueItems([
101 function uniqueItems(items: string[]): string[] { function
/expo/packages/@expo/metro-config/build/
H A DgetWatchFolders.js121 …return uniqueItems([_path().default.join(workspaceRoot, 'node_modules'), ...packages.map(pkg => _p…
123 function uniqueItems(items) { function
H A DgetWatchFolders.js.map1uniqueItems","pkg","dirname","items","Set"],"sources":["../src/getWatchFolders.ts"],"sourcesConten…
/expo/docs/components/plugins/
H A DAppConfigSchemaPropertiesTable.test.tsx63 uniqueItems: true,
H A DAppConfigSchemaPropertiesTable.tsx35 uniqueItems?: boolean;