MCPcopy Index your code
hub / github.com/plotly/dash / toObject

Function toObject

dash/deps/react@16.14.0.js:66–72  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

64 var propIsEnumerable = Object.prototype.propertyIsEnumerable;
65
66 function toObject(val) {
67 if (val === null || val === undefined) {
68 throw new TypeError('Object.assign cannot be called with null or undefined');
69 }
70
71 return Object(val);
72 }
73
74 function shouldUseNative() {
75 try {

Callers 1

react@16.14.0.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…