frameType

The frameType read-only property of the Client interface indicates the type of browsing context of the current Client.

MDN Reference