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

24 lines
568 B
Markdown
Raw Normal View History

2020-03-31 23:47:44 +00:00
<!-- 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
2022-10-08 19:52:35 +00:00
2020-03-31 23:47:44 +00:00
<b>Signature:</b>
```typescript
export declare function hasItems<T>(val: Maybe<ReadonlyArray<T>>): val is ReadonlyArray<T>;
2020-03-31 23:47:44 +00:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| val | [Maybe](./js-utils.maybe.md)<!-- -->&lt;ReadonlyArray&lt;T&gt;&gt; | |
2020-03-31 23:47:44 +00:00
<b>Returns:</b>
val is ReadonlyArray&lt;T&gt;
2020-03-31 23:47:44 +00:00