Checks if the response status code indicates a successful request (2xx).

  • Parameters

    • response: AxiosResponse<any, any>

      The Axios response object.

    Returns boolean

    • True if the status code is between 200 and 299, inclusive.