Error.isError
Built-ins signatures
class Error {
static isError(value: any): boolean;
}
Entry points
core-js/proposals/is-error
Warning
We have no bulletproof way to polyfill this Error.isError
/ check if the object is an error, so it's an enough naive implementation.