List
List Add
Appends an object to the end of a list each time that the flow is activated. The object must be of the same type as the list.
Inputs:
Enter
Flow
Flow to activate the node.
List
List <varies>
The list to add an object to.
Item to Add
<varies>
The object to add to the list.
Outputs:
Exit
Flow
Continue the activating flow.
List Clear
Removes all objects from a list.
Inputs:
Enter
Flow
Flow to activate the node.
List
List <varies>
The list to clear.
Outputs:
Exit
Flow
Continue the activating flow.
List Contains
Tests whether a referenced list contains the specified object.
Inputs:
List
List <varies>
The list to be searched.
Object
<varies>
The object to search for.
Outputs:
Bool Out
Boolean
True if Object
is in List
. False otherwise.
List Count
Outputs the number of objects in a list.
Inputs:
List
List <varies>
The list to evaluate.
Outputs:
Count
Integer
The number of objects in the list.
List Get At Index
Outputs the object at the given index in a list.
Inputs:
Index
Integer [editable]
The index of the object to retrieve. Lists are zero indexed.
List
List <varies>
The list to retrieve an object from.
Outputs:
Output
<varies>
The object at the given index.
List Index Of
Outputs the index of the given object, or -1 if the object is not in the list.
Inputs:
List
List <varies>
The list to search.
Object
<varies>
The object to search for.
Outputs:
Index
Integer
The index of Object
in List
, or -1 if Object
is not in List
.
List Insert
Inserts an object into a list at the given index. The objects at that index and higher are displaced to the next index up. The result is that the length of the list increases by 1.
To replace an object at a given index, see List Replace At. To append to the end of a list, see List Add.
Inputs:
Enter
Flow
Flow to activate the node.
Index
Integer [editable]
The location where the object is to be inserted.
List
List <varies>
The list into which the object will be inserted.
Outputs:
Exit
Flow
Continue the activating flow.
List Remove At Index
Removes an object from a list at the given index. Objects at higher indexes are shifted down. The result is that the length of the list is reduced by 1.
Inputs:
Enter
Flow
Flow to activate the node.
Index
Integer [editable]
The index of the object to remove.
List
List <varies>
The list to remove the object from.
Outputs:
Exit
Flow
Continue the activating flow.
List Remove Item
Remove a matching object from a list. If there are multiple matching objects in the list, the object with the lowest index is removed. If the object is not found, no action is taken.
Inputs:
Enter
Flow
Flow to activate the node.
List
List <varies>
The list from which to remove the object.
Item To Remove
<varies>
The object to remove.
Outputs:
Exit
Flow
Continue the activating flow.
List Replace At
Replaces the object at the given index in a list with the input object.
Inputs:
Enter
Flow
Flow to activate the node.
Index
Integer [editable]
The index of the object to replace.
List
List <varies>
The list in which to replace the object.
Item To Replace
<varies>
The replacement object.
Outputs:
Exit
Flow
Continue the activating flow.
Last updated