Skip to main content

split_nullish_type

Function split_nullish_type 

Source
pub fn split_nullish_type(
    types: &dyn TypeDatabase,
    type_id: TypeId,
) -> (Option<TypeId>, Option<TypeId>)
Expand description

Split a type into its non-nullish part and its nullish cause.