Function sanitizeQuery

  • Remove whitespace from query, and remove special characters (e.g., quotes)

    Parameters

    • query: string

      The query string to sanitize

    Returns string

    The sanitized query string, or string "" if query is empty after processing

Generated using TypeDoc