Skip to main content

is_variadic_arg

Function is_variadic_arg 

Source
fn is_variadic_arg(arg: &FnArg) -> bool
Expand description

Checks whether a parameter’s type is Variadic<...> or OptionalArg<...>, which indicates the function should be treated as variadic regardless of parameter count.