compareDistanceCopyimport { compareDistance } from "https://raw.githubusercontent.com/el3um4s/Damerau-Levenshtein/master/mod.ts";Compare distance between 2 words (format like StringWithDistance). function compareDistance(a: StringWithDistance, b: StringWithDistance): number;§compareDistance(a: StringWithDistance, b: StringWithDistance): number[src]§Parameters§a: StringWithDistance[src]§b: StringWithDistance[src]§Return Type§number[src]