private boolean isInterface ( Node n ) { if ( ! n . isFunction ( ) ) { return false ; } JSDocInfo jsDoc = NodeUtil . getBestJSDocInfo ( n ) ; return jsDoc != null && jsDoc . isInterface ( ) ; }
Whether a function is an interface constructor or a method on an interface .