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

x/earthstar/src/entries/universal.ts>isErr

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
function isErr
Re-export
import { isErr } from "https://deno.land/x/earthstar@v10.0.0/src/entries/universal.ts";

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

Parameters

x: T | Error