MCPcopy Create free account
hub / github.com/anomalyco/opencode / identity

Function identity

packages/http-recorder/src/redactor.ts:11–11  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

9export const DEFAULT_RESPONSE_HEADERS: ReadonlyArray<string> = ["content-type"]
10
11const identity = <T>(value: T) => value
12
13export interface Redactor {
14 readonly request: (snapshot: RequestSnapshot) => RequestSnapshot

Callers 4

makeFunction · 0.85
makeFunction · 0.85
makeFunction · 0.85
createRefCountMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected