UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

65 lines (34 loc) 1.15 kB
--- lang: en title: 'API docs: repository-json-schema.isarraytype' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/repository-json-schema permalink: /doc/en/lb4/apidocs.repository-json-schema.isarraytype.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/repository-json-schema](./repository-json-schema.md) &gt; [isArrayType](./repository-json-schema.isarraytype.md) ## isArrayType() function Determines whether a given string or constructor is array type or not **Signature:** ```typescript export declare function isArrayType(type: string | Function | PropertyType): boolean; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> type </td><td markdown="1"> string \| Function \| PropertyType </td><td markdown="1"> Type as string or wrapper </td></tr> </tbody></table> **Returns:** boolean