MCPcopy Create free account
hub / github.com/Effect-TS/effect / make

Function make

packages/effect/src/unstable/http/Headers.ts:100–101  ·  view source on GitHub ↗
(input: Record.ReadonlyRecord<string, string>)

Source from the content-addressed store, hash-verified

98})
99
100const make = (input: Record.ReadonlyRecord<string, string>): Mutable<Headers> =>
101 Object.assign(Object.create(Proto), input) as Headers
102
103/**
104 * Provides an `Equivalence` instance that compares `Headers` by header names

Callers 1

Headers.tsFile · 0.70

Calls 1

assignMethod · 0.80

Tested by

no test coverage detected