Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Storage for private, distributed, offline-first applications.
Latest
function notErr
import { notErr } 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 false) or not (return true)

Parameters

x: T | Error