---
url: >-
  https://lit-ui-router.dev/reference/ui-router-navigation-location-plugin/functions/isUIRouterNavigateEvent.md
---
[ui-router-navigation-location-plugin](../index.md) / isUIRouterNavigateEvent

# Function: isUIRouterNavigateEvent()

```ts
function isUIRouterNavigateEvent(event?): event is UIRouterNavigateEvent;
```

Defined in: [index.ts:52](https://github.com/simshanith/lit-ui-router/blob/740888c2b2ba358c4dfa52a122e927df6a604b12/packages/navigation-location-plugin/src/index.ts#L52)

Whether a `navigate` event was started by this plugin, as opposed to a link
or script.

Use it in a `navigate` listener that observes navigations to read the router
off `event.info`. The service intercepts these events itself; extra work on
them goes through [NavigationLocationPluginOptions.intercept](../interfaces/NavigationLocationPluginOptions.md#intercept).

## Parameters

| Parameter | Type |
| ------ | ------ |
| `event?` | `NavigateEvent` |

## Returns

`event is UIRouterNavigateEvent`
