View Source Absinthe.Utils.Suggestion (absinthe v1.7.0)

Link to this section Summary

Functions

Sort a list of suggestions by Jaro distance to a target string, supporting a cut-off threshold.

Link to this section Functions

Link to this function

sort_list(suggestions, target, threshold \\ 0.7)

View Source

Specs

sort_list([String.t()], String.t(), float()) :: [String.t()]

Sort a list of suggestions by Jaro distance to a target string, supporting a cut-off threshold.