getState

fun getState(): ERROR CLASS: Symbol not found for JsAny??(source)

The getState() method of the NavigationHistoryEntry interface returns a clone of the developer-supplied state associated with this history entry.

MDN Reference