Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

sortWordByMinDistance

import { sortWordByMinDistance } from "https://raw.githubusercontent.com/el3um4s/Damerau-Levenshtein/master/mod.ts";

Return an arry of StringWithDistance sorted by min distance

function sortWordByMinDistance(target: string, list: Array<string>): Array<StringWithDistance>;
§
sortWordByMinDistance(target: string, list: Array<string>): Array<StringWithDistance>
[src]

§Parameters

§
target: string
[src]
§
list: Array<string>
[src]

§Return Type