Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/SandDance
/ meanX
Function
meanX
docs/app/js/sanddance-app.js:137454–137456 ·
view source on GitHub ↗
(children)
Source
from the content-addressed store, hash-verified
137452
return
a.parent === b.parent ? 1 : 2;
137453
}
137454
function
meanX(children) {
137455
return
children.reduce(meanXReduce, 0) / children.length;
137456
}
137457
function
meanXReduce(x, c) {
137458
return
x + c.x;
137459
}
Callers
1
cluster
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected