3 ms·
julia> supertype(String) == supertype(SubString) == AbstractString true If you insist just use f(s::AbstractString)
by stabbles 6y ago
julia> supertype(String) == supertype(SubString) == AbstractString
true
If you insist just use f(s::AbstractString)