sameDocument

external val sameDocument: Boolean(source)

The sameDocument read-only property of the NavigationDestination interface returns true if the navigation is to the same document as the current Document value, or false otherwise.

MDN Reference