Luvit 2.5.6 Documentation
Table of Contents
Helpful#
Levenshtein distance for property-not-found hints in modules.
string.levenshtein(str1, str2)#
Adds a levenshtein distance function to luas native string library. The string library in luvit gets auto populated
with luas string library and inbuilt methods. You can use it by simply going
string.levenshtein(str1, str2)
. No require statements needed.