Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/unitest/matcher/to_be_error.ts>isError

🃏 Deno-first universal unit testing framework
Latest
function isError
import { isError } from "https://deno.land/x/unitest@v1.0.0-beta.82/matcher/to_be_error.ts";

Whatever argument is Error extended object or not

Parameters

value: unknown

Returns

value is Error