MCPcopy
hub / github.com/angular/angular / has

Method has

packages/router/src/shared.ts:53–53  ·  view source on GitHub ↗

* Reports whether the map contains a given parameter. * @param name The parameter name. * @returns True if the map contains the given parameter, false otherwise.

(name: string)

Source from the content-addressed store, hash-verified

51 * @returns True if the map contains the given parameter, false otherwise.
52 */
53 has(name: string): boolean;
54 /**
55 * Retrieves a single value for a parameter.
56 * @param name The parameter name.

Callers 15

readPackageFunction · 0.65
applyWithProgramMethod · 0.65
provideClientHydrationFunction · 0.65
addHostMethod · 0.65
onFetchMethod · 0.65
initializeMethod · 0.65
lookupVersionByHashMethod · 0.65
assignVersionMethod · 0.65
checkForUpdateMethod · 0.65
cleanupCachesMethod · 0.65
handleFetchFunction · 0.65
needToRevalidateFunction · 0.65

Implementers 3

ParamsAsMappackages/router/src/shared.ts
HttpHeaderspackages/common/http/src/headers.ts
HttpParamspackages/common/http/src/params.ts

Calls

no outgoing calls

Tested by 3

shouldAttachMethod · 0.52
shouldDestroyInjectorMethod · 0.52
shouldAttachMethod · 0.52