MCPcopy
hub / github.com/di-sukharev/opencommit / get

Method get

out/cli.cjs:5097–5117  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

5095 return utils.tryWrapperForImpl(esValue[implSymbol].delete(...args));
5096 }
5097 get(name) {
5098 const esValue = this !== null && this !== void 0 ? this : globalObject;
5099 if (!exports2.is(esValue)) {
5100 throw new globalObject.TypeError("'get' called on an object that is not a valid instance of URLSearchParams.");
5101 }
5102 if (arguments.length < 1) {
5103 throw new globalObject.TypeError(
5104 `Failed to execute 'get' on 'URLSearchParams': 1 argument required, but only ${arguments.length} present.`
5105 );
5106 }
5107 const args = [];
5108 {
5109 let curArg = arguments[0];
5110 curArg = conversions["USVString"](curArg, {
5111 context: "Failed to execute 'get' on 'URLSearchParams': parameter 1",
5112 globals: globalObject
5113 });
5114 args.push(curArg);
5115 }
5116 return esValue[implSymbol].get(...args);
5117 }
5118 getAll(name) {
5119 const esValue = this !== null && this !== void 0 ? this : globalObject;
5120 if (!exports2.is(esValue)) {

Callers

nothing calls this directly

Calls 2

pushMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected