MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / getText

Function getText

code/controlled-uncontrolled/public/app.js:2155–2160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2153}
2154
2155function getText() {
2156 if ('value' in compositionState._root) {
2157 return compositionState._root.value;
2158 }
2159 return compositionState._root[getTextContentAccessor()];
2160}
2161
2162/* eslint valid-typeof: 0 */
2163

Callers 2

initializeFunction · 0.70
getDataFunction · 0.70

Calls 1

getTextContentAccessorFunction · 0.70

Tested by

no test coverage detected