Add true/false string from bool util
This commit is contained in:
@@ -2080,6 +2080,12 @@ function getOpenedClosedFromBool(boolVal) {
|
|||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
|
function getTrueFalseFromBool(boolVal) {
|
||||||
|
return (boolVal) ? "True" : "False";
|
||||||
|
}
|
||||||
|
|
||||||
|
// ===========================================================================
|
||||||
|
|
||||||
function breakText(text, maxLength) {
|
function breakText(text, maxLength) {
|
||||||
let lines = [];
|
let lines = [];
|
||||||
let j = Math.floor(text.length / maxLength);
|
let j = Math.floor(text.length / maxLength);
|
||||||
|
|||||||
Reference in New Issue
Block a user