MCPcopy Create free account
hub / github.com/microsoft/SandDance / __rest

Function __rest

docs/app/js/sanddance-app.js:20191–20198  ·  view source on GitHub ↗
(s, e)

Source from the content-addressed store, hash-verified

20189 return __assign.apply(this, arguments);
20190};
20191function __rest(s, e) {
20192 var t = {};
20193 for(var p in s)if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
20194 if (s != null && typeof Object.getOwnPropertySymbols === "function") {
20195 for(var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
20196 }
20197 return t;
20198}
20199function __decorate(decorators, target, key, desc) {
20200 var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
20201 if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected