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