julia> Integer <: Real
true
If we don't know the answer (Real) how to find the supertype of Integer?
Also, how to find all the subtypes of Integer?
julia> Integer <: Real
true
If we don't know the answer (Real) how to find the supertype of Integer?
Also, how to find all the subtypes of Integer?
julia> supertype(Integer)
Real
julia> subtypes(Integer)
3-element Array{Any,1}:
Bool
Signed
Unsigned