MCPcopy Create free account
hub / github.com/admineral/OpenAI-Assistant-API-Chat / genId

Function genId

components/ui/use-toast.ts:28–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26let count = 0
27
28function genId() {
29 count = (count + 1) % Number.MAX_SAFE_INTEGER
30 return count.toString()
31}
32
33type ActionType = typeof actionTypes
34

Callers 1

toastFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected