pub fn split_nullish_type( types: &dyn TypeDatabase, type_id: TypeId, ) -> (Option<TypeId>, Option<TypeId>)
Split a type into its non-nullish part and its nullish cause.