WordPress at a glance
function is not described

get_comment_guid() WP 2.5.0

Retrieve the feed GUID for the current comment.

No Hooks.

Return

String|false. GUID for comment on success, false on failure.

Usage

get_comment_guid( $comment_id );
$comment_id(int|WP_Comment)
Optional comment object or ID.
Default: global comment object

Changelog

Since 2.5.0 Introduced.

Code of get_comment_guid() WP 5.7.2

<?php
function get_comment_guid( $comment_id = null ) {
	$comment = get_comment( $comment_id );

	if ( ! is_object( $comment ) ) {
		return false;
	}

	return get_the_guid( $comment->comment_post_ID ) . '#comment-' . $comment->comment_ID;
}