MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / chromeStampNumber

Function chromeStampNumber

packages/client/src/app/AppShell.tsx:210–212  ·  view source on GitHub ↗
(value: number | undefined)

Source from the content-addressed store, hash-verified

208}
209
210function chromeStampNumber(value: number | undefined): string {
211 return Number.isFinite(value) ? String(Math.round((value ?? 0) * 1000)) : "0";
212}
213
214function chromeStampText(value: string | undefined | null): string {
215 return (value ?? "").replace(/[^a-zA-Z0-9_.-]+/g, "_");

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected