risingwave_expr_macro::parse

Function strip_iterator

source
fn strip_iterator(ty: &Type) -> Option<&Type>
Expand description

Check if the type is impl Iterator<Item = T> and return T.