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

x/willow/src/errors.ts>isErr

A Willow Data Model and Willow General Purpose Sync protocol implementation in TypeScript.
Latest
function isErr
import { isErr } from "https://deno.land/x/willow@0.3.5/src/errors.ts";

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

Parameters

x: T | Error