recurseUp(iteratee) {
        const result = iteratee(this);

        if (result !== false && this.hasParent()) {
            this.getParent().recurseUp(iteratee);
        }

        return this;
    }
Iterate up a node and its parents.

@param {function} iteratee Iteratee function.
@return {TreeNode} Node object.