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: Nov 27 2025 at 04:44 UTC