function closestStringimport { closestString } from "https://dotland.deno.dev/std@0.224.0/text/mod.ts"; closestString(givenWord: string,possibleWords: string[],options?: { caseSensitive?: boolean; },): stringget most-similar word ExamplesExample 1 import { closestString } from "https://deno.land/std@0.224.0/text/closest_string.ts"; const possibleWords: string[] = ["length", "size", "blah", "help"]; // case-insensitive by default const word = closestString("hep", possibleWords); ParametersgivenWord: string The string to measure distance against possibleWords: string[] The string-array that will be sorted optionaloptions: { caseSensitive?: boolean; } Flag indicating whether the distance should include case. Default is false. ReturnsstringA sorted copy of possibleWords