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

Function isRedactable

packages/effect/src/Redactable.ts:105–105  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

103 * @since 3.10.0
104 */
105export const isRedactable = (u: unknown): u is Redactable => hasProperty(u, symbolRedactable)
106
107/**
108 * Returns a redacted value if it implements {@link Redactable}, otherwise returns it

Callers 1

redactFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected