550 B
550 B
Home > @apextoaster/js-utils > hasItems
hasItems() function
Signature:
export declare function hasItems<T>(val: Optional<ReadonlyArray<T>>): val is ReadonlyArray<T>;
Parameters
Parameter | Type | Description |
---|---|---|
val | Optional<ReadonlyArray<T>> |
Returns:
val is ReadonlyArray<T>