CoAgent8
    Preparing search index...

    Function redactPublicData

    • Recursively sanitizes strings in an object, array, or primitive for public output. Redacts high-confidence credential formats and user home paths without keyword rewriting or byte truncation.

      Type Parameters

      • T

      Parameters

      • value: T

        Value to recursively sanitize.

      Returns T

      Sanitized value of the same structure.