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

Function assignIfExisting

test/lib/testHelper.js:1903–1907  ·  view source on GitHub ↗
(prop)

Source from the content-addressed store, hash-verified

1901 }
1902 };
1903 function assignIfExisting(prop) {
1904 if (_ctx[key].hasOwnProperty(prop)) {
1905 input[prop] = _ctx[key][prop];
1906 }
1907 }
1908 assignIfExisting('value');
1909 assignIfExisting('valueIndex');
1910 assignIfExisting('optionIndex');

Callers 1

createInputFunction · 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…