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

x/earthstar/src/util/errors.ts>isErr

Storage for private, distributed, offline-first applications.
Latest
function isErr
import { isErr } from "https://deno.land/x/earthstar@11.0.0-beta.4/src/util/errors.ts";

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

Parameters

x: T | Error