👽
LTM-utilities Docs
  • 🥳Introduction
  • 🔦Installation
    • Setup
  • 🕶️Functions
    • randomColor
    • generateId
    • intToString
    • compareDates
Powered by GitBook
On this page
  1. Functions

generateId

This function returns a random id which can be controlled with the params.

PreviousrandomColorNextintToString

Last updated 2 years ago

Params

numbers: boolean If this is true, there will be numbers in the id.

small: boolean If this is true, there will be small letters in the id.

large: boolean If this is true, there will be large letters in the id.

length: number This parameter defines the length of the returned string.

🕶️