MCPcopy 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
16function toStrInt(value: any): string | undefined {
17 const n = Number(value);
18 return Number.isFinite(n) ? String(Math.trunc(n)) : undefined;
19}
20
21const CN_TIME_ZONE = "Asia/Shanghai";
22

Callers 1

DbdjPluginClass · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected