array split node

Good afternoon.

I get the following data in my debug
node: debug 21
polling : msg.payload : array[8]
array[8]
0: false
1: false
2: false
3: false
4: false
5: false
6: false
7: false

I would like to have only the data 0:False how can I split this so that I can only look at 1 data.

Use a change node that sets payload to payload[0]

or just access msg.payload[0]

TBH, it depends where you want to use the value.

thanks it worked. I use this value to be able to convert it to 1 or 0.