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

23 lines
566 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: Maybe<ReadonlyArray<T>>): val is ReadonlyArray<T>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| val | [Maybe](./js-utils.maybe.md)<!-- -->&lt;ReadonlyArray&lt;T&gt;&gt; | |
<b>Returns:</b>
val is ReadonlyArray&lt;T&gt;