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

x/rimbu/proximity/mod.ts>DistanceFunction

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace DistanceFunction
Re-export
import { DistanceFunction } from "https://deno.land/x/rimbu@0.14.1/proximity/mod.ts";

Variables

Sensible default distance function, based on ===

type alias DistanceFunction
Re-export
import { type DistanceFunction } from "https://deno.land/x/rimbu@0.14.1/proximity/mod.ts";

Measures the distance between two values.

definition: (one: T, another: T) => Distance