UNPKG

@loopback/docs

Version:
34 lines (21 loc) 736 B
--- 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) &gt; [@loopback/repository](./repository.md) &gt; [Type](./repository.type.md) &gt; [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`