declare function isErr(val: any): val is Error;

export = isErr;
