MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / toObject

Function toObject

code/composition/public/app.js:817–823  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

815var propIsEnumerable = Object.prototype.propertyIsEnumerable;
816
817function toObject(val) {
818 if (val === null || val === undefined) {
819 throw new TypeError('Object.assign cannot be called with null or undefined');
820 }
821
822 return Object(val);
823}
824
825function shouldUseNative() {
826 try {

Callers 1

app.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected