@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
35 lines (22 loc) • 888 B
Markdown
lang: en
title: 'API docs: tsdocs.shouldgeneratetsdocs'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/tsdocs
permalink: /doc/en/lb4/apidocs.tsdocs.shouldgeneratetsdocs.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/tsdocs](./tsdocs.md) > [shouldGenerateTsDocs](./tsdocs.shouldgeneratetsdocs.md)
## shouldGenerateTsDocs() function
Check if a package should be processed for tsdocs
<b>Signature:</b>
```typescript
export declare function shouldGenerateTsDocs(pkg: LernaPackage): boolean;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| pkg | [LernaPackage](./tsdocs.lernapackage.md) | Lerna package |
<b>Returns:</b>
boolean