> For the complete documentation index, see [llms.txt](https://leontm-systems.gitbook.io/ltm-utilities-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://leontm-systems.gitbook.io/ltm-utilities-docs/functions/generateid.md).

# generateId

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

## 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.

<figure><img src="https://616884300-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJYsZUxycDfiuLMcx4pl%2Fuploads%2FTrbGE8oOoHnhj6u29EAD%2Fimage.png?alt=media&amp;token=bbfdc386-597a-41e7-8c75-2ad45a253b26" alt=""><figcaption></figcaption></figure>
