MCPcopy Create free account
hub / github.com/openai/plugins / toNumber

Function toNumber

plugins/plugin-eval/src/core/observed-usage.js:10–12  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

8}
9
10function toNumber(value) {
11 return typeof value === "number" && Number.isFinite(value) ? value : null;
12}
13
14function buildStat(values) {
15 if (values.length === 0) {

Callers 1

normalizeSnapshotFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected