# Data_Access::user_has_comment_reaction()

Whether the user has a given reaction on a comment.

```php
user_has_comment_reaction( int $comment_id, int $user_id, string $reaction_type ): bool
```

## Parameters

- `$comment_id` (int) Comment PK.
- `$user_id` (int) User ID.
- `$reaction_type` (string) Slug.

## Return

`bool`
