Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TeleBoxOrg/TeleBox_Plugins
/ toStrInt
Function
toStrInt
dbdj/dbdj.ts:16–19 ·
view source on GitHub ↗
(value: any)
Source
from the content-addressed store, hash-verified
14
}
15
16
function
toStrInt(value: any): string | undefined {
17
const
n = Number(value);
18
return
Number.isFinite(n) ? String(Math.trunc(n)) : undefined;
19
}
20
21
const
CN_TIME_ZONE =
"Asia/Shanghai"
;
22
Callers
1
DbdjPlugin
Class · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected