ArraySlice Op
This op is deprecated!
It will not receive any updatesExtracts parts of an array (shallow copy)
Summary (oneliner)
Example:
Input array: [1, 2, 3, 4, 5]
After calling Slice
with Begin Index
= 0
and End Index
= 4
: [1, 2, 3, 4]
Slice
is a wrapper around the JavaScript slice function.
- Ops.Extension.Deprecated.ArraySlice
- Extension Op - Visible to all users
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
No op example found on this server
INPUT PORTS
The array you want to slice
The index where the extraction should start. If Begin Index
is negative it will extract elements from the end, e.g. when the Input Array
is [1, 2, 3]
, calling Slice
with Begin Index
-1
will return 3
The index where the extraction should end (exclusive, so this one will not be included in the Output Array
)
OUTPUT PORTS
A copy of the Input Array
which only included values from Start Index
until End Index
(exclusive)