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

Method maybeSetNormalizedName

packages/common/http/src/headers.ts:172–176  ·  view source on GitHub ↗
(name: string, lcName: string)

Source from the content-addressed store, hash-verified

170 }
171
172 private maybeSetNormalizedName(name: string, lcName: string): void {
173 if (!this.normalizedNames.has(lcName)) {
174 this.normalizedNames.set(lcName, name);
175 }
176 }
177
178 private init(): void {
179 if (!!this.lazyInit) {

Callers 3

applyUpdateMethod · 0.95
addHeaderEntryMethod · 0.95
setHeaderEntriesMethod · 0.95

Calls 2

hasMethod · 0.65
setMethod · 0.65

Tested by

no test coverage detected