Skip to content

generateId()

function generateId(prefix?): string;

Returns an id that is unique within this runtime, e.g. text_lq3k2x_7.

Parameter Type Default value
prefix string 'item'

string