MCPcopy
hub / github.com/plotly/dash / checkKeyStringCoercion

Function checkKeyStringCoercion

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

Source from the content-addressed store, hash-verified

256 }
257 }
258 function checkKeyStringCoercion(value) {
259 {
260 if (willCoercionThrow(value)) {
261 error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));
262
263 return testStringCoercion(value); // throw (to help callers find troubleshooting comments)
264 }
265 }
266 }
267 function checkPropStringCoercion(value, propName) {
268 {
269 if (willCoercionThrow(value)) {

Callers 1

createPortalFunction · 0.70

Calls 4

willCoercionThrowFunction · 0.70
errorFunction · 0.70
typeNameFunction · 0.70
testStringCoercionFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…