How to get the base type of a `Complex`

You know that you can just use real for this, right?

julia> real(Float64)
Float64

julia> real(ComplexF64)
Float64
2 Likes