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

Function checkArray

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

Source from the content-addressed store, hash-verified

1568
1569describe('sankey layout generators', function() {
1570 function checkArray(arr, key, result) {
1571 var value = arr.map(function(obj) {
1572 return obj[key];
1573 });
1574 expect(value).toEqual(result, 'invalid property named ' + key);
1575 }
1576
1577 function checkRoundedArray(arr, key, result) {
1578 var value = arr.map(function(obj) {

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…