[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [hasItems](./js-utils.hasitems_1.md)
## hasItems() function
Signature:
```typescript
export declare function hasItems(val: Maybe>): val is ReadonlyArray;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| val | [Maybe](./js-utils.maybe.md)<ReadonlyArray<T>> | |
Returns:
val is ReadonlyArray<T>