monkey:monkey.types.Array<T>.Resize

Method Resize:T[]( newLength:Int )

Resizes an array.

Returns a copy of the array resized to length newLength.

Note that this method does not modify this array in any way.

Parameters
newLength newLength The length of the new array.