Examples Filter
Go slices are commonly used to represent a List.
Last Run  :
emp: [  ]
set: [a b c]
get: c
len: 3
apd: [a b c d e f]
cpy: [a b c d e f]
sl1: [c d e]
sl2: [a b c d e]
sl3: [c d e f]
dcl: [g h i]
2d:  [[0] [1 2] [2 3 4]]
Last Run  :
[]
[1 2 3]
[0 0 0 0 0]
[1 2 3]
Copy a list by creating a new list and copying all the values over to the new list.
Last Run  :
[1 2 3 4 5]
[1 2 3 4 5]
[1 2 3 4 5]
Last Run  :
[1 2 999 3 4 5]
Insert a value at the start of the list.
Last Run  :
[-99 1 2 3 4 5]
Insert a value at the end of the list.
Last Run  :
[1 2 3 4 5 6]
Insert the values of another list at the index of the working list.
Last Run  :
[1 2 3 6 7 8 9 10 4 5]
Insert the values of another list at the start of the working list.
Last Run  :
[6 7 8 9 10 1 2 3 4 5]
Insert the values of another list at the end of the working list.
Last Run  :
[1 2 3 4 5 6 7 8 9 10]
Get the size or length of the list.
Last Run  :
0
3
Last Run  :
b
Last Run  :
a
Last Run  :
c
Last Run  :
[1 2 3 4 5]
Last Run  :
[3 4]
Last Run  :
[4 5 6 7]
Set value at index in a list.
Last Run  :
[1 2 999 4 5]
Sets the first value in the list.
Last Run  :
[999 2 3 4 5]
Sets the last value in the list.
Last Run  :
[1 2 3 4 999]
Last Run  :
[1 2 3 4 5]
[1 2 3 5]
Remove the first value in a list.
Last Run  :
[2 3 4 5]
Removes the last value in the list.
Last Run  :
[1 2 3 4]
Last Run  :
[Banana Mango Apple Orange]
Last Run  :
[5 4 3 2 1]
Rearrange the values in a list in random order.
Last Run  :
[2 4 3 1 5]
[10 6 8 7 9]
Last Run  :
sum: 9
index: 1
0 103
1 111
Last Run  :
false
true
Find a value in a list by applying a predicate on each value.
Last Run  :
of
Find the index of a value in by applying a predicate on each value.
Last Run  :
1
Filters a list by applying a predicate to each value.
Last Run  :
[peach apple pear]
Last Run  :
2
Last Run  :
true
Last Run  :
false
Last Run  :
[PEACH APPLE PEAR PLUM]
Partitions the list into groups.
Last Run  :
[[0 2 4 6 8] [1 3 5 7 9]]
map[a:[apple avocados] g:[grapefruit] o:[orange]]
Get a list of lists for batch processing.
Last Run  :
[[0 1 2] [3 4 5] [6 7 8] [9]]