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

Function checkKeyStringCoercion

dash/deps/react@18.2.0.js:492–500  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

490 return '' + value;
491 }
492 function checkKeyStringCoercion(value) {
493 {
494 if (willCoercionThrow(value)) {
495 error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));
496
497 return testStringCoercion(value); // throw (to help callers find troubleshooting comments)
498 }
499 }
500 }
501
502 function getWrappedName(outerType, innerType, wrapperName) {
503 var displayName = outerType.displayName;

Callers 4

createElementFunction · 0.70
cloneElementFunction · 0.70
getElementKeyFunction · 0.70
mapIntoArrayFunction · 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…