f(type)
such that it behaves like this?julia> f(Int64)
"something"
julia> f(Float64)
"something completely different"
f(::Type{Int64}) = ...
f(::Type{Float64}) = ...
Perfect. Thank you.
G Gundam has marked this topic as resolved.
Last updated: Dec 28 2024 at 04:38 UTC