interactive_clap_derive/helpers/
mod.rs1pub mod snake_case_to_camel_case;
2pub mod to_kebab_case;
3
4pub fn type_starts_with_vec(ty: &syn::Type) -> bool {
5 if let syn::Type::Path(type_path) = ty {
6 if let Some(path_segment) = type_path.path.segments.first() {
7 if path_segment.ident == "Vec" {
8 return true;
9 }
10 }
11 }
12 false
13}