How to find which subtypes are contained in a type

eltype provides the element type in a collection. Does this what you need?
String <: eltype(Vector{Union{Missing, String}})

1 Like