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

x/rimbu/proximity/main/index.ts>Distance

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

The distance between two values; a non-negative real number between:

  • 0 - meaning the two values are equal

  • Number.POSITIVE_INFINITY - the two values are so distant that can never match

definition: number