mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-10 20:45:35 +01:00
11 lines
230 B
Plaintext
11 lines
230 B
Plaintext
function printBool(val) {
|
|
if(!is_array(val)) return val? __txt("True") : __txt("False");
|
|
|
|
var ss = "[";
|
|
for( var i = 0; i < array_length(val); i++ ) {
|
|
ss += (i? ", " : "") + printBool(val[i]);
|
|
}
|
|
|
|
ss += "]";
|
|
return ss;
|
|
} |