namespace DistanceFunction
Returns The distance between its arguments, in a [0
; Number.POSITIVE_INFINITY
] range
Companion type: DistanceFunction<T>
Constants
Name | Description |
---|---|
defaultFunction | Returns 0 if the two values satisfy === , Number.POSITIVE_INFINITY otherwise |