Searched refs:replaceValue (Results 1 – 6 of 6) sorted by relevance
| /expo/packages/create-expo/src/utils/__tests__/ |
| H A D | array.test.ts | 1 import { replaceValue } from '../array'; 3 describe(replaceValue, () => { 5 expect(replaceValue([1, 2, 3], 1, 2)).toEqual([2, 2, 3]); 6 expect(replaceValue([1, 2, 3], 4, 5)).toEqual([1, 2, 3]);
|
| /expo/packages/@expo/cli/src/utils/__tests__/ |
| H A D | array-test.ts | 1 import { findLastIndex, groupBy, intersecting, replaceValue } from '../array'; 19 describe(replaceValue, () => { 21 expect(replaceValue([1, 2, 3], 1, 2)).toEqual([2, 2, 3]); 22 expect(replaceValue([1, 2, 3], 4, 5)).toEqual([1, 2, 3]);
|
| /expo/packages/create-expo/src/utils/ |
| H A D | array.ts | 1 export function replaceValue<T>(values: T[], original: T, replacement: T): T[] { function
|
| H A D | args.ts | 6 import { replaceValue } from './array'; 125 args = replaceValue(args, arg, alias);
|
| /expo/packages/@expo/cli/src/utils/ |
| H A D | resolveArgs.ts | 3 import { replaceValue } from './array'; 142 args = replaceValue(args, arg, alias);
|
| H A D | array.ts | 17 export function replaceValue<T>(values: T[], original: T, replacement: T): T[] { function
|