docs/libs/typescript.js
function isTripleSlashComment(comment) {
                // Verify this is /// comment, but do the regexp match only when we first can find /// in the comment text
                // so that we don't end up computing comment string and doing match for all // comments
                if (currentText.charCodeAt(comment.pos + 1) === 47 /* slash */ &&
                    comment.pos + 2 < comment.end &&
                    currentText.charCodeAt(comment.pos + 2) === 47 /* slash */) {
                    var textSubStr = currentText.substring(comment.pos, comment.end);
                    return textSubStr.match(ts.fullTripleSlashReferencePathRegEx) ||
                        textSubStr.match(ts.fullTripleSlashAMDReferencePathRegEx) ?
                        true : false;
                }
                return false;
            }
function isTripleSlashComment(comment) {
                // Verify this is /// comment, but do the regexp match only when we first can find /// in the comment text
                // so that we don't end up computing comment string and doing match for all // comments
                if (currentText.charCodeAt(comment.pos + 1) === 47 /* slash */ &&
                    comment.pos + 2 < comment.end &&
                    currentText.charCodeAt(comment.pos + 2) === 47 /* slash */) {
                    var textSubStr = currentText.substring(comment.pos, comment.end);
                    return textSubStr.match(ts.fullTripleSlashReferencePathRegEx) ||
                        textSubStr.match(ts.fullTripleSlashAMDReferencePathRegEx) ?
                        true : false;
                }
                return false;
            }
function isTripleSlashComment ( comment ) { // Verify this is /// comment, but do the regexp match only when we first can find /// in the comment text // so that we don't end up computing comment string and doing match for all // comments if ( currentText . charCodeAt ( comment . pos + 1 ) === 47 /* slash */ && comment . pos + 2 < comment . end && currentText . charCodeAt ( comment . pos + 2 ) === 47 /* slash */ ) { var textSubStr = currentText . substring ( comment . pos , comment . end ) ; return textSubStr . match ( ts . fullTripleSlashReferencePathRegEx ) || textSubStr . match ( ts . fullTripleSlashAMDReferencePathRegEx ) ? true : false ; } return false ; }
Determine if the given comment is a triple-slash

@return true if the comment is a triple-slash comment else false
Determine if the given comment is a triple - slash