(
iter: impl IntoIterator<Item = &'a ReprColumnType>,
other: &ReprScalarType,
)
| 1369 | fn variadic_typecheck(func: &VariadicFunc, args: &[ReprColumnType]) -> bool { |
| 1370 | use VariadicFunc::*; |
| 1371 | fn all_eq<'a>( |
| 1372 | iter: impl IntoIterator<Item = &'a ReprColumnType>, |
| 1373 | other: &ReprScalarType, |
| 1374 | ) -> bool { |
| 1375 | iter.into_iter().all(|t| t.scalar_type == *other) |
| 1376 | } |
| 1377 | match func { |
| 1378 | Coalesce(_) | Greatest(_) | Least(_) => match args { |
| 1379 | [] => true, |
no test coverage detected