MCPcopy Create free account
hub / github.com/HKUDS/AgentSpace / readNumber

Function readNumber

scripts/feishu/smoke.ts:2221–2223  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

2219}
2220
2221function readNumber(value: unknown): number {
2222 return typeof value === "number" && Number.isFinite(value) ? value : 0;
2223}
2224
2225function isSha256Hex(value: unknown): value is string {
2226 return typeof value === "string" && /^[a-f0-9]{64}$/i.test(value.trim());

Callers 1

verifySmokeEvidenceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected