Pluxbox Logo

Get array length block

Purpose

Get the nubmer of items in a list.

Input

  • List
    Connect to the list you whish to size.

Output

  • Value
    A number describing how many items are in the list

Example

I want the size of the following list:

	[
	  "Item0":"A",
	  "Item1":"B",
	  "Item2":"C",
	  "Item3":"D",
	  "Item4":"E",
	  "Item5":"F"
	]

graph LR
A(list) --> B(Get array length)
B --> C([6])

Caveats

--none known--