This is not an incredibly typical-intent Alternative, but I had a situation in which I anticipated a list of duration three to five (that has a guarding if), and I used to be breaking out the values to named variables. An easy and concise way I found for this involved: https://how-to-get-free-phone87765.answerblogs.com/37342501/free-phones-no-further-a-mystery