MCPcopy Create free account
hub / github.com/angular/angular / append

Method append

packages/common/http/src/params.ts:229–231  ·  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

227 * @return A new body with the appended value.
228 */
229 append(param: string, value: string | number | boolean): HttpParams {
230 return this.clone({param, value, op: 'a'});
231 }
232
233 /**
234 * Constructs a new body with appended values for the given parameter name.

Callers 15

shadow_dom_spec.tsFile · 0.45
params_spec.tsFile · 0.45
headers_spec.tsFile · 0.45
request_spec.tsFile · 0.45
jsonpMethod · 0.45
fold_io_arrayMethod · 0.45
takeMethod · 0.45
program_files_bodyMethod · 0.45
FileReader.spec.tsFile · 0.45
browser.spec.tsFile · 0.45

Calls 1

cloneMethod · 0.95

Tested by

no test coverage detected