If I have a an object of type `Array{Float32, 2}`, using `eltype` gives me `Float3

If I have a an object of type Array{Float32, 2}, using eltype gives me Float32, what gives me Array ?

Note that the original poster on Slack cannot see your response here on Discourse. Consider transcribing the appropriate answer back to Slack, or pinging the poster here on Discourse so they can follow this thread.
(Original message :slack:) (More Info)

julia> x = Float32[1,2]
2-element Array{Float32,1}:
 1.0
 2.0

julia> typeof(x).name
Array

1 Like