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

x/rimbu/proximity/common/index.ts>DistanceFunction.defaultFunction

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
variable DistanceFunction.defaultFunction
import { DistanceFunction } from "https://deno.land/x/rimbu@1.1.0/proximity/common/index.ts";
const { defaultFunction } = DistanceFunction;

Sensible default distance function, based on ===