Is it possible to broadcast the property of a structure?

getproperty is the function being called with the dot syntax, so you can broadcast that function directly:

julia> getproperty.(mylist, :id)
3-element Vector{Int64}:
 1
 2
 1
4 Likes