Optional
appendOptional
filterA 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.
Optional
prefixA fixed prefix or prefix computation function to be prepended before each element of the iterable.
Optional
separatorA fixed element separator to be inserted between 2 consecutive non-undefined item representations incl. their suffixes and prefixes.
Optional
skipSuppresses appending trailing line breaks after the last item in the iterable if activated via appendNewLineIfNotEmpty
.
Optional
suffixA 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
true
a single line break is appended.If a number
> 6
is required you can achieve that via theseparator
orsuffix
options, e.g.separator: new CompositeGeneratorNode(calcLineBreaks(...))
.