Helper class for Array<Int>.
Static methods
staticaverage (arr:ReadonlyArray<Int>):Null<Float>
Finds the average of all the elements in the array.
staticresize (array:Array<Int>, length:Int, fill:Int = 0):Array<Int>
Resizes an array of Int to an arbitrary length by adding more elements (default is 0)
to its end or by removing extra elements.
Note that the function changes the passed array and doesn't create a copy.
staticresized (array:Array<Int>, length:Int, fill:Int = 0):Array<Int>
Copies and resizes an array of Int to an arbitrary length by adding more
elements (default is 0) to its end or by removing extra elements.
Note that the function creates and returns a copy of the passed array.