Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
10
function
toNumber(value) {
11
return
typeof value ===
"number"
&& Number.isFinite(value) ? value : null;
12
}
13
14
function
buildStat(values) {
15
if
(values.length === 0) {
Callers
1
normalizeSnapshot
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected