Add Proper Unicode Glyph Ranges for Each Language

This commit is contained in:
GreenComfyTea
2023-05-25 12:18:34 +03:00
parent 865512f8d6
commit cd2aa12d3c
9 changed files with 148 additions and 15 deletions

View File

@@ -215,6 +215,14 @@ function this.number.round(value)
return math.floor(value + 0.5);
end
function this.number.is_odd(value)
return value % 2 ~= 0;
end
function this.number.is_even(value)
return value % 2 == 0;
end
function this.string.trim(str)
return str:match("^%s*(.-)%s*$");
end