pub fn aggregate_strings_into_array_with_separation_filter<'a, 'b: 'a, T>(
tokens: Tokens<'a>,
array_name: &str,
separation_token: Token<'b>,
filter: T
) -> Tokens<'a>where
T: Fn(&Tokens<'a>, usize) -> bool,
Expand description
Same as aggregate_strings_into_array_with_separation
except it allows certain strings to
not be aggregated thanks to the filter
parameter. If it returns false
, then the string will
be ignored.