You can also take this approach:
julia> IntString = Union{Int,String}
Union{Int64, String}
julia> IntString[23 "dd"; "er" 24]
2×2 Array{Union{Int64, String},2}:
23 "dd"
"er" 24
See this section of the docs.
You can also take this approach:
julia> IntString = Union{Int,String}
Union{Int64, String}
julia> IntString[23 "dd"; "er" 24]
2×2 Array{Union{Int64, String},2}:
23 "dd"
"er" 24
See this section of the docs.