function isErrimport { isErr } from "https://deno.land/x/earthstar@v10.0.1/src/util/errors.ts"; isErr<T>(x: T | Error): x is EarthstarErrorCheck if any value is a subclass of EarthstarError (return true) or not (return false) Type ParametersTParametersx: T | ErrorReturnsx is EarthstarError