MCPcopy Index your code
hub / github.com/angular/angular / has

Method has

packages/common/http/src/params.ts:200–203  ·  view source on GitHub ↗

* Reports whether the body includes one or more values for a given parameter. * @param param The parameter name. * @returns True if the parameter has one or more values, * false if it has no value or is not present.

(param: string)

Source from the content-addressed store, hash-verified

198 * false if it has no value or is not present.
199 */
200 has(param: string): boolean {
201 this.init();
202 return this.map!.has(param);
203 }
204
205 /**
206 * Retrieves the first value for a parameter.

Callers

nothing calls this directly

Calls 2

initMethod · 0.95
hasMethod · 0.65

Tested by

no test coverage detected