OpenBIMRL | List functions
Class path: collection.list.getIndexOfElement
Index of an element

Description
Retrieves the index of a searched element within a list.
Input
| Input | Name | Type | Description |
|---|---|---|---|
| 0 | Element | Object | element searched |
| 1 | List | List<Object> | List in which the element is searched for |
Output
| Output | Name | Type | Description |
|---|---|---|---|
| 0 | Indices | List<Number> | Indices of the element |
Use/Example
Sample file
Download of a sample file so that the user can test the usage himself