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

CropArray Op

Ops.Array.CropArray


CropArray
Namespace: Ops.Array

Op author: tim

Crops an array


summary (oneliner)



doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

Source Array (Array)

The array to crop


Start Index (integer /Number)

New Length (integer /Number)

The length the new array should have


Outputs

Cropped Array (Array)

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


Array length (Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Crop array example

Open Example In Editor


Patches using CropArray

Changelog


added start index parameter
2019-11-21 - pandur