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:

Name
Type
Description

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:

Name
Type
Description

Exit

Flow

Continue the activating flow.

List Clear

Removes all objects from a list.

Inputs:

Name
Type
Description

Enter

Flow

Flow to activate the node.

List

List <varies>

The list to clear.

Outputs:

Name
Type
Description

Exit

Flow

Continue the activating flow.

List Contains

Tests whether a referenced list contains the specified object.

Inputs:

Name
Type
Description

List

List <varies>

The list to be searched.

Object

<varies>

The object to search for.

Outputs:

Name
Type
Description

Bool Out

Boolean

True if Object is in List. False otherwise.

List Count

Outputs the number of objects in a list.

Inputs:

Name
Type
Description

List

List <varies>

The list to evaluate.

Outputs:

Name
Type
Description

Count

Integer

The number of objects in the list.

List Get At Index

Outputs the object at the given index in a list.

Inputs:

Name
Type
Description

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:

Name
Type
Description

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:

Name
Type
Description

List

List <varies>

The list to search.

Object

<varies>

The object to search for.

Outputs:

Name
Type
Description

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:

Name
Type
Description

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:

Name
Type
Description

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:

Name
Type
Description

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:

Name
Type
Description

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:

Name
Type
Description

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:

Name
Type
Description

Exit

Flow

Continue the activating flow.

List Replace At

Replaces the object at the given index in a list with the input object.

Inputs:

Name
Type
Description

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:

Name
Type
Description

Exit

Flow

Continue the activating flow.

Last updated