MCPcopy Index your code
hub / github.com/codeaashu/claude-code / fromArray

Method fromArray

src/server/web/public/terminal.js:5158–5167  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

5156 };
5157 }, 8742: (e2, t2) => {
5158 Object.defineProperty(t2, "__esModule", { value: true }), t2.Params = void 0;
5159 const i2 = 2147483647;
5160 class s2 {
5161 static fromArray(e3) {
5162 const t3 = new s2();
5163 if (!e3.length) return t3;
5164 for (let i3 = Array.isArray(e3[0]) ? 1 : 0; i3 < e3.length; ++i3) {
5165 const s3 = e3[i3];
5166 if (Array.isArray(s3)) for (let e4 = 0; e4 < s3.length; ++e4) t3.addSubParam(s3[e4]);
5167 else t3.addParam(s3);
5168 }
5169 return t3;
5170 }

Callers

nothing calls this directly

Calls 2

addSubParamMethod · 0.95
addParamMethod · 0.95

Tested by

no test coverage detected