602 B
602 B
Home > @apextoaster/js-utils > ensureArray
ensureArray() function
Warning: This API is now obsolete.
renamed to
toArray
Signature:
export declare function ensureArray<T>(val: Maybe<Array<T>>): Array<T>;
Parameters
Parameter | Type | Description |
---|---|---|
val | Maybe<Array<T>> |
Returns:
Array<T>