MCPcopy Index your code
hub / github.com/microsoft/SandDance / getToStringValue

Function getToStringValue

docs/external/js/react-dom.development.js:1644–1657  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1642 return '' + value;
1643 }
1644 function getToStringValue(value) {
1645 switch (typeof value) {
1646 case 'boolean':
1647 case 'number':
1648 case 'object':
1649 case 'string':
1650 case 'undefined':
1651 return value;
1652
1653 default:
1654 // function, symbol are assigned as empty strings
1655 return '';
1656 }
1657 }
1658
1659 /**
1660 * Copyright (c) 2013-present, Facebook, Inc.

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