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

Function toObject

code/dependency-injection/public/app.js:772–778  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

770var propIsEnumerable = Object.prototype.propertyIsEnumerable;
771
772function toObject(val) {
773 if (val === null || val === undefined) {
774 throw new TypeError('Object.assign cannot be called with null or undefined');
775 }
776
777 return Object(val);
778}
779
780function shouldUseNative() {
781 try {

Callers 1

app.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected