pub fn is_type_parameter(types: &dyn TypeDatabase, type_id: TypeId) -> bool
Check if a type is a type parameter.