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

Method getAll

deps/undici/undici.js:6214–6220  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

6212 return this.#state[idx].value;
6213 }
6214 getAll(name) {
6215 webidl.brandCheck(this, _FormData);
6216 const prefix = "FormData.getAll";
6217 webidl.argumentLengthCheck(arguments, 1, prefix);
6218 name = webidl.converters.USVString(name);
6219 return this.#state.filter((entry) => entry.name === name).map((entry) => entry.value);
6220 }
6221 has(name) {
6222 webidl.brandCheck(this, _FormData);
6223 const prefix = "FormData.has";

Calls 5

brandCheckMethod · 0.80
argumentLengthCheckMethod · 0.80
USVStringMethod · 0.80
mapMethod · 0.65
filterMethod · 0.65

Tested by

no test coverage detected