another question to: ajax live search for post title

I actually wanted to reply to another post, but unfortunately that is no longer possible.

therefore a short and crisp question;)

if I want to search in several Post_Types, can I simply work with ‘post_type’ => ‘post’ with comma values?

‘post_type’ => ‘post’, ‘Pages’, ‘etc ..’