Is there a way to check whether a variable is of a particular supertype. For example, if I initialize
a=1; M = rand(Int64, 3, 4);
can I check whether a is also of type Real and M is also of types AbstractMatrix or Matrix{Real} ? The Julia documentation on types does not provide a command. I am looking for a command say ff such that