OptionalappendOptionalfilterA plain or type guard filter function.
Benefit compared to pre-filtering the joined iterable: Original indices of the elements are preserved and forwarded to the toGenerated function.
OptionalprefixA fixed prefix or prefix computation function to be prepended before each element of the iterable.
OptionalseparatorA fixed element separator to be inserted between 2 consecutive non-undefined item representations incl. their suffixes and prefixes.
OptionalskipSuppresses appending trailing line breaks after the last item in the iterable if activated via appendNewLineIfNotEmpty.
OptionalsuffixA fixed suffix or suffix computation function to be appended after each element of the iterable.
Activates appending of up 6 line breaks after a non-undefined element + suffix + separator if given.
If
truea single line break is appended.If a number
> 6is required you can achieve that via theseparatororsuffixoptions, e.g.separator: new CompositeGeneratorNode(calcLineBreaks(...)).