MCPcopy Index your code
hub / github.com/reactjs/react-rails / getToStringValue

Function getToStringValue

lib/assets/react-source/development/react.js:5321–5334  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

5319 return '' + value;
5320 }
5321 function getToStringValue(value) {
5322 switch (typeof value) {
5323 case 'boolean':
5324 case 'number':
5325 case 'object':
5326 case 'string':
5327 case 'undefined':
5328 return value;
5329
5330 default:
5331 // function, symbol are assigned as empty strings
5332 return '';
5333 }
5334 }
5335
5336 var ReactDebugCurrentFrame$2 = null;
5337 var ReactControlledValuePropTypes = {

Callers 6

initWrapperStateFunction · 0.85
updateWrapperFunction · 0.85
postMountWrapper$1Function · 0.85
updateOptionsFunction · 0.85
initWrapperState$2Function · 0.85
updateWrapper$1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected