(value)
| 1539 | // around this limitation, we use an opaque type that can only be obtained by |
| 1540 | // passing the value through getToStringValue first. |
| 1541 | function toString(value) { |
| 1542 | // The coercion safety check is performed in getToStringValue(). |
| 1543 | // eslint-disable-next-line react-internal/safe-string-coercion |
| 1544 | return '' + value; |
| 1545 | } |
| 1546 | function getToStringValue(value) { |
| 1547 | switch (typeof value) { |
| 1548 | case 'boolean': |
no outgoing calls
no test coverage detected
searching dependent graphs…