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

Method append

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

* Appends a new value to existing values for a parameter. * @param param The parameter name. * @param value The new value to add. * @return A new body with the appended value.

(param: string, value: string | number | boolean)

Source from the content-addressed store, hash-verified

241 * @return A new body with the appended value.
242 */
243 append(param: string, value: string | number | boolean): HttpParams {
244 return this.clone({param, value, op: 'a'});
245 }
246
247 /**
248 * Constructs a new body with appended values for the given parameter name.

Callers 14

shadow_dom_spec.tsFile · 0.45
params_spec.tsFile · 0.45
headers_spec.tsFile · 0.45
request_spec.tsFile · 0.45
jsonpMethod · 0.45
FileReader.spec.tsFile · 0.45
browser.spec.tsFile · 0.45
zone.spec.tsFile · 0.45
constructorMethod · 0.45

Calls 1

cloneMethod · 0.95

Tested by

no test coverage detected