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

Function unpack

docs/app/js/sanddance-app.js:141835–141839  ·  view source on GitHub ↗
(obj, keys)

Source from the content-addressed store, hash-verified

141833 defaults: {}
141834 }, config);
141835 const unpack = (obj, keys)=>{
141836 keys.forEach((k)=>{
141837 if ((0, _vegaUtil.isArray)(obj[k])) obj[k] = (0, _vegaUtil.toSet)(obj[k]);
141838 });
141839 };
141840 unpack(events1.defaults, [
141841 "prevent",
141842 "allow"

Callers 1

initializeEventConfigFunction · 0.70

Calls 1

forEachMethod · 0.45

Tested by

no test coverage detected