Add true/false string from bool util

This commit is contained in:
Vortrex
2022-06-17 09:41:21 -05:00
parent 66f351a16e
commit 35f9e1fe3d

View File

@@ -2080,6 +2080,12 @@ function getOpenedClosedFromBool(boolVal) {
// ===========================================================================
function getTrueFalseFromBool(boolVal) {
return (boolVal) ? "True" : "False";
}
// ===========================================================================
function breakText(text, maxLength) {
let lines = [];
let j = Math.floor(text.length / maxLength);