Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/earthstar/src/formats/util.ts>getFormatIntersection

Storage for private, distributed, offline-first applications.
Go to Latest
function getFormatIntersection
import { getFormatIntersection } from "https://deno.land/x/earthstar@v10.2.0/src/formats/util.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>