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

Method clone

packages/common/http/src/params.ts:300–305  ·  view source on GitHub ↗
(update: Update | Update[])

Source from the content-addressed store, hash-verified

298 }
299
300 private clone(update: Update | Update[]): HttpParams {
301 const clone = new HttpParams({encoder: this.encoder} as HttpParamsOptions);
302 clone.cloneFrom = this.cloneFrom || this;
303 clone.updates = (this.updates || []).concat(update);
304 return clone;
305 }
306
307 private init() {
308 if (this.map === null) {

Callers 4

appendMethod · 0.95
appendAllMethod · 0.95
setMethod · 0.95
deleteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected