functional-data-structure/finger-tree

View on GitHub
src/0-core/concatenate/append.js

Summary

Maintainability
A
0 mins
Test Coverage
export function append(tree, iterable) {
    for (const value of iterable) tree = tree.push(value);

    return tree;
}