mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 23:17:25 +01:00
11 lines
No EOL
237 B
Text
11 lines
No EOL
237 B
Text
function printBool(val) {
|
|
if(!is_array(val)) return val? __txt("True") : __txt("False");
|
|
|
|
var ss = "[";
|
|
for( var i = 0, n = array_length(val); i < n; i++ ) {
|
|
ss += (i? ", " : "") + printBool(val[i]);
|
|
}
|
|
|
|
ss += "]";
|
|
return ss;
|
|
} |