Created lane feature that should be backwards compatible with non-lane features

This commit is contained in:
2026-08-25 18:40:07 +02:00
parent b9068a7ac8
commit 27548d69bb
13 changed files with 1055 additions and 254 deletions
+8
View File
@@ -128,6 +128,14 @@ do -- INIT UTIL
return str:find('^' .. findable) ~= nil
end
UTIL.endsWith = function(str, findable, ignoreCase)
if ignoreCase == true then
return string.lower(str):find(string.lower(findable) .. '$') ~= nil
end
return str:find(findable .. '$') ~= nil
end
---comment
---@param str string
---@param findable string