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

x/earthstar/src/replica/compare.ts>compareByFn

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

Type Parameters

T
R extends Record<string, T>

Parameters

fn: (x: any) => T