MCPcopy
hub / github.com/plotly/plotly.js / checkRoundedArray

Function checkRoundedArray

test/jasmine/tests/sankey_test.js:1577–1582  ·  view source on GitHub ↗
(arr, key, result)

Source from the content-addressed store, hash-verified

1575 }
1576
1577 function checkRoundedArray(arr, key, result) {
1578 var value = arr.map(function(obj) {
1579 return Math.round(obj[key]);
1580 });
1581 expect(value).toEqual(result, 'invalid property named ' + key);
1582 }
1583
1584 function moveNode(sankey, graph, nodeIndex, delta) {
1585 var node = graph.nodes[nodeIndex];

Callers 1

sankey_test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…