API Reference
    Preparing search index...
    MaskedPayload: T extends null
    | undefined
        ? T
        : T extends readonly unknown[] ? string[] : string

    Return type of DataMasking.erase when called without options: arrays are masked element-wise preserving length, null and undefined pass through unchanged, and everything else collapses to the mask string.

    Type Parameters

    • T