Documentation / @ripl/utilities / stringUniqueId
Function: stringUniqueId() ​
stringUniqueId(
length?):string
Defined in: packages/utilities/src/string.ts:2
Generates a cryptographically random hexadecimal string of the specified length (default 8 characters / 32 bits).
Parameters ​
| Parameter | Type | Default value |
|---|---|---|
length | number | 8 |
Returns ​
string