AttrEngine.Transform.Redact (attr_engine v0.5.0)

Copy Markdown View Source

Replaces any non-nil value with a masked placeholder.

Useful for attributes that should never expose their raw value in rendered output (e.g. API tokens displayed in a settings UI).

Returns "••••••••" for non-nil values, nil for nil.