Sounds like you want a pick.
Note: link above largely discusses Object API and not so much syntax but on various occasions a syntax has also been proposed, ex: dotstructuring.
Sounds like you want a pick.
Note: link above largely discusses Object API and not so much syntax but on various occasions a syntax has also been proposed, ex: dotstructuring.