code: function isaTopLevelObject($) {return (
      ($.is("CONSTRUCTOR") && $.name.match(/^[A-Z][A-Za-z]+/)) ||
      ($.is("FUNCTION") && $.name.match(/^[A-Z][A-Za-z]+/)) ||
      $.comment.getTag("enum")[0] ||
      $.comment.getTag("interface")[0] ||
      $.isNamespace
    );}
docs: Find the top-level objects - class, enum, function, interface, namespace