I have a function which takes data loaded from a file. Normally it’s all `Matrix{Float64}`

but sometimes there are some `missing`

values, `Matrix{Union{Missing, Float64}`

. How would I write a function to take a `Number`

matrix with or without `missing`

values?

Here is my failing attempt.

```
function missingOrNot(data::Array{T}) where T <: Union{Missing, Number}
if isa(data,Array{Union{Missing, Number}})
println("Numeric Matrix with missing values")
elseif isa(data,Array{Number})
println("Numeric matrix")
end
end
```

```
julia> y = [NaN 2 3 4;5 6 NaN 8;9 10 11 12]
3×4 Matrix{Float64}:
NaN 2.0 3.0 4.0
5.0 6.0 NaN 8.0
9.0 10.0 11.0 12.0
julia> z = [NaN 2.0 3.0 4.0;5.0 6.0 missing 8.0;9.0 10.0 11.0 12.0]
3×4 Matrix{Union{Missing, Float64}}:
NaN 2.0 3.0 4.0
5.0 6.0 missing 8.0
9.0 10.0 11.0 12.0
julia> missingOrNot(y)
julia> missingOrNot(z)
```