/tg/ Station 13 - Modules - TypesVar Details

List Find Component

Finds an element in a list and returns the index.

Vars

foundSignal to say we have found the element.
indexIndex of the element if found.
list_to_checkList to check
list_typeThe list type we're checking
not_foundSignal to say we haven't found the element.
resultResult of the search
to_checkElement to check

Var Details

found

Signal to say we have found the element.

index

Index of the element if found.

list_to_check

List to check

list_type

The list type we're checking

not_found

Signal to say we haven't found the element.

result

Result of the search

to_check

Element to check