How to target a search result page?

I’am wondering how to target a search result page within the functions.php file in wordpress.

I know about “is_search” for the search page but what about the search result page ?

Can we put a condition with the query or something?

Thanks in advance.

All the best