How to connect a notebook to the TV via WiFi

Can I connect my TV (smart-TV, Direct WiFi) to my laptop as a second screen (mirror) via WiFi?