MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / toObject

Function toObject

code/redux/public/app.js:930–936  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

928var propIsEnumerable = Object.prototype.propertyIsEnumerable;
929
930function toObject(val) {
931 if (val === null || val === undefined) {
932 throw new TypeError('Object.assign cannot be called with null or undefined');
933 }
934
935 return Object(val);
936}
937
938function shouldUseNative() {
939 try {

Callers 1

app.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected