MCPcopy
hub / github.com/vercel/next.js / has

Method has

packages/next/src/compiled/@edge-runtime/cookies/index.js:209–211  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

207 return all.filter(([n]) => n === name).map(([_, value]) => value);
208 }
209 has(name) {
210 return this._parsed.has(name);
211 }
212 set(...args) {
213 const [name, value] = args.length === 1 ? [args[0].name, args[0].value] : args;
214 const map = this._parsed;

Callers 15

_makeCompatibilityCheckFunction · 0.45
setMethod · 0.45
index.jsFile · 0.45
_wrapNativeSuperFunction · 0.45
_interopRequireWildcardFunction · 0.45
_assertClassBrandFunction · 0.45
_wrapNativeSuperFunction · 0.45
_interopRequireWildcardFunction · 0.45
_assertClassBrandFunction · 0.45
emitAssetDirectoryFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected