expand() Data Array Functions Web & Application int[] ia = {0, 1, 3, 4}; println(ia.length); // Prints "4" ia = expand(ia); println(ia.length); // Prints "8" ia = expand(ia, 512); println(ia.length); // Prints "512" Increases the size of an array. By default, this function doubles the size of the array, but the optional newSize parameter provides precise control over the increase in size. expand(array) expand(array, newSize) booleans[], bytes[], chars[], ints[], floats[], or Strings[] positive int: new size for the array Array (the same datatype as the input) contract() 1.0 Function Core Extended