MCPcopy Create free account
hub / github.com/caseywebdev/react-list / checkCSSPropertyStringCoercion

Function checkCSSPropertyStringCoercion

docs/index.js:19492–19502  ·  view source on GitHub ↗
(value, propName)

Source from the content-addressed store, hash-verified

19490 );
19491 }
19492 function checkCSSPropertyStringCoercion(value, propName) {
19493 if (willCoercionThrow(value))
19494 return (
19495 console.error(
19496 "The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",
19497 propName,
19498 typeName(value)
19499 ),
19500 testStringCoercion(value)
19501 );
19502 }
19503 function checkFormFieldValueStringCoercion(value) {
19504 if (willCoercionThrow(value))
19505 return (

Callers 2

setValueForStyleFunction · 0.85
diffHydratedStylesFunction · 0.85

Calls 3

willCoercionThrowFunction · 0.85
typeNameFunction · 0.85
testStringCoercionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…