Function sanitizeDisplayKey

  • Sanitizes a display key.

    Parameters

    • key: string

      The key to sanitize.

    Returns string

    The sanitized key.