nth-input(number)

koadrobot/logics/nth-input(number)

Selects either `X0` or `X1` based on `IDX` index value.
nth-input(number)
@/nth-input(number)
Selects either `X0` or `X1` based on `IDX` index value.
IDXnumber
Index to select. All values below 1 are considered to be 0. Values of 1 and above are considered to be 1.
X0number
X1number (variadic)
nth-input(number)
OUT
_
IDX
X0
X1
OUTnumber
The selected value. Equals to one of `Xi` input.
_number
Utility output needed for expanding node. Shoud be ignored by the end user.
To use the node in your project you should have the koadrobot/logics library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.