Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/d3/d3-array
/ constant
Function
constant
src/constant.js:1–3 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
1
export
default
function
constant(x) {
2
return
() => x;
3
}
Callers
1
bin
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected