static boolean isNestedArrayPattern ( Node n ) { checkState ( n . isArrayPattern ( ) ) ; for ( Node key = n . getFirstChild ( ) ; key != null ; key = key . getNext ( ) ) { if ( key . hasChildren ( ) ) { return true ; } } return false ; }
Determine whether the destructuring array pattern is nested