(length = 16)
| 27 | arrayMap(array as any, () => mathFloor(mathRandom() * 256)) as any; |
| 28 | |
| 29 | export const getUniqueId: typeof getUniqueIdDecl = (length = 16): Id => |
| 30 | arrayReduce<number, Id>( |
| 31 | getRandomValues(new Uint8Array(length)) as any, |
| 32 | (uniqueId, number) => uniqueId + encode(number), |
| 33 | EMPTY_STRING, |
| 34 | ); |
no test coverage detected
searching dependent graphs…