createId
Return a random number, prefixed with a string. Used for unique identifiers that do not require the rigor of a full UUID - i.e. node id's, process ids etc.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
prefix Optional | string | "i" |
String to prefix the random number with so the result is a valid javascript property |
Returns
string
Function defined in common/src/util.ts:117