New to Julia, walking through the manual and got to this example under Methods:
julia> mytypeof(x::T) where {T} = T
mytypeof (generic function with 1 method)
When you call this method with values for x, it gives you back the type:
julia> mytypeof(1)
Int64
julia> mytypeof(1.0)
Float64
My question is: why does this return a value at all? Where, in other words, is the implied return value?