Function comparison_lambda

Source
pub fn comparison_lambda(args: &Cli) -> ComparisonFn
Expand description

Create a comparison function based on the given threshold.

If the threshold is 0, we use string comparison. If not, we use Levenshtein distance.