Latest
function default
import { default } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/isError.js";

Checks if value is an Error, EvalError, RangeError, ReferenceError, SyntaxError, TypeError, or URIError object.

Examples

_.isError(new Error); // => true

_.isError(Error); // => false

Parameters

value

The value to check.