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

Function retrieveId

test/lib/testHelper.js:889–897  ·  view source on GitHub ↗
(inputDefine, idPropName)

Source from the content-addressed store, hash-verified

887 }
888
889 function retrieveId(inputDefine, idPropName) {
890 if (inputDefine && inputDefine[idPropName] != null) {
891 var type = getType(inputDefine[idPropName]);
892 if (type !== 'string' && type != 'number') {
893 throw new Error(errMsgPrefix + ' id must be string or number.');
894 }
895 return inputDefine[idPropName] + '';
896 }
897 }
898
899 function createInputByDefine(inputDefine, inputRecorder) {
900 if (!inputDefine) {

Callers 2

storeToInputDictFunction · 0.85
createGroupSetInputFunction · 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…