functionfirstTrueIndex
Returns the index of the first element of the Boolean vector that is true and returns 0, if no element is true
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean[:] | b |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | index |
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean[:] | b |
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | index |