declare function isErr(val: any): boolean; export = isErr;