MCPcopy Create free account
hub / github.com/plotly/dash / typeName

Function typeName

dash/deps/react-dom@18.3.1.js:201–208  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

199 */
200 // $FlowFixMe only called in DEV, so void return is not possible.
201 function typeName(value) {
202 {
203 // toStringTag is needed for namespaced types like Temporal.Instant
204 var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;
205 var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';
206 return type;
207 }
208 } // $FlowFixMe only called in DEV, so void return is not possible.
209
210
211 function willCoercionThrow(value) {

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…