(value)
| 443 | */ |
| 444 | // $FlowFixMe only called in DEV, so void return is not possible. |
| 445 | function typeName(value) { |
| 446 | { |
| 447 | // toStringTag is needed for namespaced types like Temporal.Instant |
| 448 | var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag; |
| 449 | var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object'; |
| 450 | return type; |
| 451 | } |
| 452 | } // $FlowFixMe only called in DEV, so void return is not possible. |
| 453 | |
| 454 | |
| 455 | function willCoercionThrow(value) { |
no outgoing calls
no test coverage detected
searching dependent graphs…