index.js
function isRepeating(node) {
    while (node.parent) {
        if (node.repeat && node.repeat.value && node.repeat.value > 1) {
            return true;
        }

        node = node.parent;
    }

    return false;
}
function isRepeating(node) {
    while (node.parent) {
        if (node.repeat && node.repeat.value && node.repeat.value > 1) {
            return true;
        }

        node = node.parent;
    }

    return false;
}
function isRepeating ( node ) { while ( node . parent ) { if ( node . repeat && node . repeat . value && node . repeat . value > 1 ) { return true ; } node = node . parent ; } return false ; }
Check if given node is in repeating context, e.g. node itself or one of its
parent is repeated
@param  {Node}  node
@return {Boolean}
Check if given node is in repeating context e . g . node itself or one of its parent is repeated