isServer

abstract val isServer: Boolean?(source)

While usually automatic, sometimes it can be useful to force the router into a server-side state, e.g. when using the router in a non-browser environment that has access to a global.document object.

default - typeof document !== 'undefined' API Docs