Resets an array to a specified minimum number of elements.
This can improve performance, if used to size an array to its
expected maximum. For more than 500 elements, use ArrayResize
immediately after using the ArrayNew tag.
Lucee Object Methods Reference
Object Method Array.resize
Array.resize(number minimum_size):boolean
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
minimum_size | number | Yes | minimum size of the array |