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

Function numeric

scripts/check-stream-reliability.mjs:44–46  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

42}
43
44function numeric(value) {
45 return typeof value === "number" && Number.isFinite(value) ? value : 0;
46}
47
48const startedAt = Date.now();
49const initial = await fetchJson("/api/metrics");

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected