What is router state?

What is router state?

It is one of the interface which is widely used in Angular. It represents the state of the router as a tree of activated routes. toString() is the method that is used in this interface.