WordPress at a glance
function is not described

wp_get_comment_status() WP 1.0.0

The status of a comment by ID.

No Hooks.

Return

false/String. Status might be 'trash', 'approved', 'unapproved', 'spam'. False on failure.

Usage

wp_get_comment_status( $comment_id );
$comment_id(int/WP_Comment) (required)
Comment ID or WP_Comment object

Code of wp get comment status: wp-includes/comment.php VER 5.0.3

<?php
function wp_get_comment_status($comment_id) {
	$comment = get_comment($comment_id);
	if ( !$comment )
		return false;

	$approved = $comment->comment_approved;

	if ( $approved == null )
		return false;
	elseif ( $approved == '1' )
		return 'approved';
	elseif ( $approved == '0' )
		return 'unapproved';
	elseif ( $approved == 'spam' )
		return 'spam';
	elseif ( $approved == 'trash' )
		return 'trash';
	else
		return false;
}