pub(crate) fn is_str_or_union(t: &Type) -> bool