(value)
| 643 | return "" + value; |
| 644 | } |
| 645 | function checkKeyStringCoercion(value) { |
| 646 | try { |
| 647 | testStringCoercion(value); |
| 648 | var JSCompiler_inline_result = !1; |
| 649 | } catch (e) { |
| 650 | JSCompiler_inline_result = !0; |
| 651 | } |
| 652 | if (JSCompiler_inline_result) { |
| 653 | JSCompiler_inline_result = console; |
| 654 | var JSCompiler_temp_const = JSCompiler_inline_result.error; |
| 655 | var JSCompiler_inline_result$jscomp$0 = |
| 656 | ("function" === typeof Symbol && |
| 657 | Symbol.toStringTag && |
| 658 | value[Symbol.toStringTag]) || |
| 659 | value.constructor.name || |
| 660 | "Object"; |
| 661 | JSCompiler_temp_const.call( |
| 662 | JSCompiler_inline_result, |
| 663 | "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", |
| 664 | JSCompiler_inline_result$jscomp$0 |
| 665 | ); |
| 666 | return testStringCoercion(value); |
| 667 | } |
| 668 | } |
| 669 | function getComponentNameFromType(type) { |
| 670 | if (null == type) return null; |
| 671 | if ("function" === typeof type) |
no test coverage detected
searching dependent graphs…