model.getInputsCount¶
model.getInputsCount(input)
Return number of lines for given input
Parameters¶
| Name | Req | Type | Description |
|---|---|---|---|
input | yes | integer | input number (use 0 for Input1) |
Returns¶
| Name | Type | Description |
|---|---|---|
- | integer | number of configured lines for given input |
Availability¶
- Since:
2.0.0 - Radio support:
all
Source¶
radio/src/lua/api_model.cpp