Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/earthstar/src/entries/universal.ts>getFormatIntersection

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