Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/msgbyte/tailchat
/ generateRandomNumStr
Function
generateRandomNumStr
server/lib/utils.ts:22–27 ·
view source on GitHub ↗
(length = 6)
Source
from the content-addressed store, hash-verified
20
}
21
22
export
function
generateRandomNumStr(length = 6) {
23
return
randomString({
24
length,
25
type
:
'numeric'
,
26
});
27
}
28
29
/**
30
* 是否一个可用的字符串
Callers
3
verifyEmail
Method · 0.90
forgetPassword
Method · 0.90
create
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected