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

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

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Latest
type alias Distance
Re-export
import { type Distance } from "https://deno.land/x/rimbu@1.2.1/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