Pixel-Composer/scripts/printer/printer.gml
2023-06-05 18:27:53 +02:00

11 lines
No EOL
230 B
Text

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;
}