MCPcopy Index your code
hub / github.com/nodejs/node / append

Function append

test/fixtures/snapshot/typescript.js:1167–1174  ·  view source on GitHub ↗
(to, value)

Source from the content-addressed store, hash-verified

1165 }
1166 ts.sum = sum;
1167 function append(to, value) {
1168 if (value === undefined)
1169 return to;
1170 if (to === undefined)
1171 return [value];
1172 to.push(value);
1173 return to;
1174 }
1175 ts.append = append;
1176 function combine(xs, ys) {
1177 if (xs === undefined)

Callers 2

flatMapFunction · 0.70
combineFunction · 0.70

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…