MCPcopy Create free account
hub / github.com/angular/dev-infra / __objRest

Function __objRest

github-actions/saucelabs/set-saucelabs-env.js:38–49  ·  view source on GitHub ↗
(source, exclude)

Source from the content-addressed store, hash-verified

36 });
37 var __restKey = (key) => typeof key === "symbol" ? key : key + "";
38 var __objRest = (source, exclude) => {
39 var target = {};
40 for (var prop in source)
41 if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
42 target[prop] = source[prop];
43 if (source != null && __getOwnPropSymbols)
44 for (var prop of __getOwnPropSymbols(source)) {
45 if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
46 target[prop] = source[prop];
47 }
48 return target;
49 };
50 var __commonJS = (cb, mod) => function __require2() {
51 return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
52 };

Callers 6

buildConnectorFunction · 0.70
writeH2Function · 0.70
constructorMethod · 0.70
constructorMethod · 0.70
buildMockOptionsFunction · 0.70
""Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected