Function isPlainTextResponse

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

    Parameters

    • response: HttpResponse

      the response instance being checked

    Returns response is PlainTextHttpResponse

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

Generated using TypeDoc