This isn't an extremely typical-intent Alternative, but I'd a situation exactly where I expected an index of size 3 to 5 (with a guarding if), and I had been breaking out the values to named variables. An easy and concise way I found for this associated: Logging levels and outputs https://freegovernmentphone43108.laowaiblog.com/35956373/free-phones-no-further-a-mystery