Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow/mod.deno.ts>isErr

Exploring Willow in the most efficient and sound programming language
Go to Latest
function isErr
import { isErr } from "https://deno.land/x/willow@0.2.1/mod.deno.ts";

Check if any value is a subclass of WillowError (return true) or not (return false)

Parameters

x: T | Error