Skip to main content
Module

x/earthstar/mod.ts>getFormatIntersection

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
function getFormatIntersection
Re-export
import { getFormatIntersection } from "https://deno.land/x/earthstar@v10.0.0-beta.8/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>