matches.js
function hasRest (node) {
    for (var i = 0, child; (child = node.children[i]); i++) {
      if (child.type === "rest") return true;
    }
    return false;
  }
function hasRest (node) {
    for (var i = 0, child; (child = node.children[i]); i++) {
      if (child.type === "rest") return true;
    }
    return false;
  }
function hasRest ( node ) { for ( var i = 0 , child ; ( child = node . children [ i ] ) ; i ++ ) { if ( child . type === "rest" ) return true ; } return false ; }
Checks if a rest expression is present in the node's children.
Checks if a rest expression is present in the node s children .