Get In List Block

Last updated 5 months ago

In List Block

These all apply to the get and remove and remove options aswell.

Get In List Block

Get In List

The get in list block returns the item in the list with the specified index.

Generated Code

var list;
list[index];

Get In List From End Block

Get In List From End

The get in list from end block returns the item in the list with the specified index from the end.

Generated Code

var list;
list.slice(-1)[index];

Get First In List Block

Get First In List

The get first in list block returns the first item in the list.

Generated Code

var list;
list[0];

Get Last In List Block

Get Last In List

The get last in list block returns the last item in the list.

Generated Code

var list;
list.slice(-1)[0];