import { isErr } from "https://deno.land/x/stone_soup@v8.0.0/src/util/errors.ts";
Check if any value is a subclass of EarthstarError (return true) or not (return false)
type
<T>(x: T | Error) => x is EarthstarError
import { isErr } from "https://deno.land/x/stone_soup@v8.0.0/src/util/errors.ts";
Check if any value is a subclass of EarthstarError (return true) or not (return false)