(value, attributeName)
| 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)) { |
no test coverage detected
searching dependent graphs…