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

Function checkAttributeStringCoercion

dash/deps/react-dom@18.2.0.js:249–257  ·  view source on GitHub ↗
(value, attributeName)

Source from the content-addressed store, hash-verified

247 }
248
249 function checkAttributeStringCoercion(value, attributeName) {
250 {
251 if (willCoercionThrow(value)) {
252 error('The provided `%s` attribute is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', attributeName, typeName(value));
253
254 return testStringCoercion(value); // throw (to help callers find troubleshooting comments)
255 }
256 }
257 }
258 function checkKeyStringCoercion(value) {
259 {
260 if (willCoercionThrow(value)) {

Callers 4

getValueForPropertyFunction · 0.70
getValueForAttributeFunction · 0.70
setValueForPropertyFunction · 0.70
updateNamedCousinsFunction · 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…