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

Method delete

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

* Removes a given value or all values from a parameter. * @param param The parameter name. * @param value The value to remove, if provided. * @return A new body with the given value removed, or with all values * removed if no value is specified.

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

Source from the content-addressed store, hash-verified

284 * removed if no value is specified.
285 */
286 delete(param: string, value?: string | number | boolean): HttpParams {
287 return this.clone({param, value, op: 'd'});
288 }
289
290 /**
291 * Serializes the body to an encoded string, where key-value pairs (separated by `=`) are

Callers 1

initMethod · 0.45

Calls 1

cloneMethod · 0.95

Tested by

no test coverage detected