Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/is-error-like-response / dist / isErrorLikeResponse.d.ts
Size: Mime:
import { CommonStreamOrchestrationResponse, ErrorLikeResponse } from './typings';
/**
 * @invariant 1 status.includes(Error) == Error
 * @invariant 2 Object.keys(response).length < 3 == Error
 */
declare function isErrorLikeStatus(status: string): boolean;
export declare type ResponseType = CommonStreamOrchestrationResponse;
declare function isErrorLikeResponse(x: ResponseType): x is ErrorLikeResponse;
export { isErrorLikeResponse, isErrorLikeStatus };