ArraySlice Op

ArraySlice

This op is deprecated!

It will not receive any updates

Extracts parts of an array (shallow copy)


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.


Full Name
  • Ops.Extension.Deprecated.ArraySlice
Visibility
  •  Extension Op - Visible to all users
License
  • MIT
AuthorgithubMaintained by Team








No op example found on this server

INPUT PORTS


Input Array (Array)

The array you want to slice

Begin Index (Number)

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

End Index (Number)

The index where the extraction should end (exclusive, so this one will not be included in the Output Array)

OUTPUT PORTS


Output Array (Array)

A copy of the Input Array which only included values from Start Index until End Index (exclusive)


Patches using ArraySlice

  • Examples
  • Public
  • My Patches

Changelog


deprecationop Ops.Deprecated.Array.ArraySlice was deprecateduser avatarpandur - 2024-08-28 11:20