Get a query parameter from the current URL.

  • Parameters

    • key: string

      The key of the query parameter to get

    Returns string

    The value of the query parameter, or null if it doesn't exist