beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Ops.Array.CropArray

CropArray
op id:d8deecd3-418f-43dd-8edb-dfe238b5327c
Crops an array (makes a shallow copy first)

summary (oneliner)

doc

youtube id

Inputs

Source Array (Array)

The array to crop


New Length (Number)

The length the new array should have


Outputs

Cropped Array (Array)

The cropped array with new length, the source array stays untouched


Credits

Caught a mistake or want to contribute to the documentation?


Edit this documentcancel save

Examples using CropArray

Public Patches using CropArray