MCPcopy Index your code
hub / github.com/plotly/dash / getToStringValue

Function getToStringValue

dash/deps/react-dom@18.2.0.js:1546–1565  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1544 return '' + value;
1545 }
1546 function getToStringValue(value) {
1547 switch (typeof value) {
1548 case 'boolean':
1549 case 'number':
1550 case 'string':
1551 case 'undefined':
1552 return value;
1553
1554 case 'object':
1555 {
1556 checkFormFieldValueStringCoercion(value);
1557 }
1558
1559 return value;
1560
1561 default:
1562 // function, symbol are assigned as empty strings
1563 return '';
1564 }
1565 }
1566
1567 var hasReadOnlyValue = {
1568 button: true,

Callers 6

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

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…