Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chartjs/Chart.js
/ numberOrZero
Function
numberOrZero
src/helpers/helpers.options.ts:43–43 ·
view source on GitHub ↗
(v: unknown)
Source
from the content-addressed store, hash-verified
41
}
42
43
const
numberOrZero = (v: unknown) => +v || 0;
44
45
/**
46
* @param value
Callers
1
_readValueToProps
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected