List Shift

https://user-images.githubusercontent.com/14288520/187798671-b50c6cfc-d4a9-4f20-8cc5-048b7fd1794f.png

Functionality

Shifting data in selected level on selected integer value as:

[0,1,2,3,4,5,6,7,8,9] with shift integer 4 will be [4,5,6,7,8,9] But with enclose flag: [4,5,6,7,8,9,0,1,2,3]

Inputs

  • data - list of data any type to shift

  • Shift - value that defines shift

Properties

  • level - manipulation level, 0 - is objects shifting

  • enclose - close data when shifting, that way ending cut numbers turns to beginning

Outputs

  • data - shifter data, adaptive socket

Examples

https://user-images.githubusercontent.com/14288520/187798687-fb5f8564-43f6-40ac-bd87-6e02af1a1649.png shift