mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 04:18:11 -08:00
Add Proper Unicode Glyph Ranges for Each Language
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user