MCPcopy Index your code
hub / github.com/microsoft/SandDance / parseThrottle

Function parseThrottle

docs/app/js/sanddance-app.js:150125–150133  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

150123 return stream;
150124}
150125function parseThrottle(s) {
150126 const a = s.split(COMMA);
150127 if (!s.length || a.length > 2) throw s;
150128 return a.map((_)=>{
150129 const x = +_;
150130 if (x !== x) throw s;
150131 return x;
150132 });
150133}
150134
150135},{"@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"kqWZH":[function(require,module,exports) {
150136var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers 1

parseStreamFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected