Dumps the array within the provided boundries
Dumps the entire array
the array to dump
Test dumping an array of integers
int[] test = [1,2,3]; writeln("Should have 3 things (BEGIN)"); write(dumpArray!(test)); writeln("Should have 3 things (END)");
Test dumping an array of integers with custom bounds
int[] test = [1,2,3]; writeln("Should have nothing (BEGIN)"); write(dumpArray!(test)(0, 0)); writeln("Should have nothing (END)");
Test dumping an array of integers with custom bounds
int[] test = [1,2,3]; writeln("Should have 2 (BEGIN)"); write(dumpArray!(test)(1, 2)); writeln("Should have 2 (END)");
Test dumping an array of integer arrays
int[][] test = [ [1,2,3], [4,5,6]]; write(dumpArray!(test));
Test dumping an array of an array of integer arrays
int[][][] test = [ [ [1,2], [3,4] ], [ [4,5], [6,7] ] ]; write(dumpArray!(test));
Tests out the compile-time component-type detection of string in any array of them
string[] stringArray = ["Hello", "world"]; writeln(dumpArray!(stringArray));
Tests the array-name dumping
int[] bruh = [1,2,3]; string g = dumpArray!(bruh)(); writeln(g);
Dumps the provided array