blockly > utils > idGenerator > genUid

utils.idGenerator.genUid() function

Generate a random unique ID.

Signature:

export declare function genUid(): string;

Returns:

string

A globally unique ID string.