Skip to main content
Module

x/earthstar/mod.ts>getFormatIntersection

Storage for private, distributed, offline-first applications.
Latest
function getFormatIntersection
Re-export
import { getFormatIntersection } from "https://deno.land/x/earthstar@v10.2.2/mod.ts";

Given an array of format names, and an array of IFormat, returns an array of IFormat restricted to those with matching names.

Parameters

formatNames: string[]
formats: FormatsArg<F>