Get multiple elements from named tuples

… and from this

julia> x[keys(x)[1:2]]
(a = 1, b = 2)
2 Likes