1
0
Fork 0
js-utils/docs/api/js-utils.hasitems_1.md

23 lines
575 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@apextoaster/js-utils](./js-utils.md) &gt; [hasItems](./js-utils.hasitems_1.md)
## hasItems() function
<b>Signature:</b>
```typescript
export declare function hasItems<T>(val: Optional<ReadonlyArray<T>>): val is ReadonlyArray<T>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| val | [Optional](./js-utils.optional.md)<!-- -->&lt;ReadonlyArray&lt;T&gt;&gt; | |
<b>Returns:</b>
val is ReadonlyArray&lt;T&gt;