UNPKG

ice.fo.utils

Version:

19 lines (15 loc) 448 B
declare module "ice.fo.utils/RandomUtils" { /** * Generate a random ID for use. Note: Only use this for temporary data or display. It should not be used for API and the algorithm may be changed any time. */ export function randomId(); /** * Return a random objectId format * * @example * randomObjectId(); // return 62a971ae250deead422f3f3e * * @returns string */ export function randomObjectId(); }