How to detect if it is a tag page or author page in theme default.hbs?

I need to detect if it is tag page/author page. How can I do it in my custom theme’s default.hbs?

This is what the {{#is}} helper is designed for. Check it out: