foundation-utils.uuid.createid
Home > @genesislcap/foundation-utils > UUID > createId
UUID.createId() method
Generates a new UUID.
Signature:
createId(withLogging?: boolean): string;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
withLogging |
boolean |
(Optional) Optional. Whether to log the generated UUID to the console. Defaults to false. |
Returns:
string
The generated UUID.