@loopback/docs
Version:
Documentation for LoopBack 4
34 lines (21 loc) • 736 B
Markdown
lang: en
title: 'API docs: repository.type.isinstance'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.repository.type.isinstance.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/repository](./repository.md) > [Type](./repository.type.md) > [isInstance](./repository.type.isinstance.md)
## Type.isInstance() method
Test if the given value is an instance of this type
<b>Signature:</b>
```typescript
isInstance(value: any): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| value | <code>any</code> | The value |
<b>Returns:</b>
`boolean`