src/virtual-scrolling-tree/VirtualScrollingTree.js
function findExpansion(id) {
    let result;

    forEachExpansion(_(this).expansions, (expansion) => {
        if (expansion.id === id) {
            result = expansion;
        }
    });

    return result; 
}
function findExpansion(id) {
    let result;

    forEachExpansion(_(this).expansions, (expansion) => {
        if (expansion.id === id) {
            result = expansion;
        }
    });

    return result; 
}
function findExpansion ( id ) { let result ; forEachExpansion ( _ ( this ) . expansions , ( expansion ) => { if ( expansion . id === id ) { result = expansion ; } } ) ; return result ; }
Finds the expansion with the id specified.

@method findExpansion
@private
@param {String} id
@return {Object}
Finds the expansion with the id specified .