hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

array-remove-last

Creates a new array with the last `length` elements removed.
Parameter
Type
Description
self
[T]
Initial array
length
number
Number of elements to remove from end (defaults to 1)
return
[T]
New array with last `length` elements removed