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

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

A specification and Javascript library for building online tools you can truly call your own.
Go to Latest
function isErr
Re-export
import { isErr } from "https://deno.land/x/earthstar@v9.3.3/src/entries/npm.ts";

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

Parameters

x: T | Error