Function isBinaryResponse

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

    Parameters

    • response: HttpResponse

      the response instance being checked

    Returns response is BinaryHttpResponse

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

Generated using TypeDoc