API reference / @evolu/common / Redacted

Redacted

Interfaces

InterfaceDescription
RedactedA wrapper type that prevents sensitive values from being accidentally exposed through logging, serialization, or inspection.

Functions

FunctionDescription
createEqRedactedCreates an Eq for Redacted values based on an equality function for the underlying type.
createRedactedCreates a Redacted wrapper for a sensitive value.
isRedactedChecks if a value is a Redacted wrapper.
revealRedactedReveals the original value from a Redacted wrapper.

Was this page helpful?