November 2017
Beginner
316 pages
6h 40m
English
This function is used to return the supertype function of a type passed as its argument. Opening the Julia REPL, we can now check for the supertype of the Number type:
julia> supertype(Number) Any
What about the supertype of the type Any? Let's try that out too!
julia> supertype(Any) Any julia> typeof(Any) DataType
No surprises there, as Any is the starting point of all the other data types.
Read now
Unlock full access