Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 578 Bytes

js-utils.toarray_1.md

File metadata and controls

22 lines (13 loc) · 578 Bytes

Home > @apextoaster/js-utils > toArray

toArray() function

Signature:

export declare function toArray<TVal>(val: Maybe<TVal | ReadonlyArray<TVal>>): ReadonlyArray<TVal>;

Parameters

Parameter Type Description
val Maybe<TVal | ReadonlyArray<TVal>>

Returns:

ReadonlyArray<TVal>