---
lang: en
title: 'API docs: rest.redirectroute.isredirectroute'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest
permalink: /doc/en/lb4/apidocs.rest.redirectroute.isredirectroute.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RedirectRoute](./rest.redirectroute.md) &gt; [isRedirectRoute](./rest.redirectroute.isredirectroute.md)

## RedirectRoute.isRedirectRoute() method

type guard type checker for this class

**Signature:**

```typescript
static isRedirectRoute(obj: any): obj is RedirectRoute;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td markdown="1">

obj


</td><td markdown="1">

any


</td><td markdown="1">


</td></tr>
</tbody></table>

**Returns:**

obj is [RedirectRoute](./rest.redirectroute.md)


