@web3r/flowerkit
Version:
A collection of more than 60 often used utility JS functions that simplify frontend development.
11 lines • 314 B
TypeScript
/**
* Gets unique string ID.
* @param length{Number=} - length of ID
* @return {string}
* @example
* // How to generate unique string ID?
* const uniqueId = getId(100);
* console.log(uniqueId.length); // 100
*/
export function getId(length?: number | undefined): string;
//# sourceMappingURL=index.d.ts.map