@gradientedge/commercetools-utils
    Preparing search index...

    Function maskSensitiveData

    • Mask all properties defined by {@see propertyNames} in the given {@see data} object with the mask string defined by the {@see mask} parameter.

      Parameters

      • data: any
      • propertyNames: string[]
      • mask: string = DEFAULT_MASKING_STRING

      Returns any