Module

x/lodash_es/src/lang.js>isError

lodash for deno use
Latest
function isError
import { isError } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/lang.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.