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

Function stringOrRedacted

packages/effect/src/internal/redacted.ts:19–19  ·  view source on GitHub ↗
(val: string | Redacted.Redacted)

Source from the content-addressed store, hash-verified

17
18/** @internal */
19export const stringOrRedacted = (val: string | Redacted.Redacted): string => typeof val === "string" ? val : value(val)

Callers 2

securitySetCookieFunction · 0.90

Calls 1

valueFunction · 0.70

Tested by

no test coverage detected