Skip to main content
Module

x/earthstar/mod.ts>getFormatWithFallback

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
function getFormatWithFallback
Re-export
import { getFormatWithFallback } from "https://deno.land/x/earthstar@v10.0.0-alpha.4/mod.ts";

Returns the default format if no formats are given.

Type Parameters

optional
F = DefaultFormat

Parameters

optional
format: FormatArg<F>

Returns

FormatArg<F>