Is there something like the get() function for namedTuples?

This already works (since v1.7):

julia> get((a = 2, b = 3), :c, 4)
4
2 Likes