How to use a form alter on views exposed form

use Drupal\Core\Form\FormStateInterface;

/**
* Implements hook_form_FORM_ID_alter().
*/
function drupal_learn_form_views_exposed_form_alter(
 array &$form,
 FormStateInterface $form_state,
 string $form_id
): void {
 $view = $form_state->get('view');

if ($view->id() !== 'your_view_id') {
   return;
 }
 // your logic.
}