Function isJsonResponse

  • Checks if a HttpResponse is an instance of JsonHttpResponse, providing a type guard for that type.

    Parameters

    • response: HttpResponse

      the response instance being checked

    Returns response is JsonHttpResponse

    boolean true if the response is an instance of JsonHttpResponse, false otherwise.

Generated using TypeDoc