MCPcopy Index your code
hub / github.com/apache/echarts / setGroupSetInputState

Function setGroupSetInputState

test/lib/testHelper.js:1503–1523  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

1501 }
1502
1503 function setGroupSetInputState(state) {
1504 if (!isObject(state)) {
1505 console.error(
1506 errMsgPrefix + ' Invalid group set state: ' + printObject(state)
1507 + ' May caused by test case change.'
1508 );
1509 return;
1510 }
1511 var currentGroupIndex = state.currentGroupIndex;
1512 if (getType(currentGroupIndex) !== 'number'
1513 || currentGroupIndex < 0
1514 || currentGroupIndex >= groupSetCreated.children.length
1515 ) {
1516 console.error(
1517 errMsgPrefix + ' Invalid group set currentGroupIndex: ' + currentGroupIndex
1518 + ' May caused by test case change.'
1519 );
1520 return;
1521 }
1522 switchGroup(currentGroupIndex);
1523 }
1524
1525 } // End of createGroupSetInput
1526

Callers

nothing calls this directly

Calls 2

switchGroupFunction · 0.85
isObjectFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…