Skip to content

Welshman Docs / @welshman/lib / toIterable

Function: toIterable() ​

toIterable(x): any

Defined in: packages/lib/src/Tools.ts:680

Ensures value is iterable by wrapping in array if needed

Parameters ​

x ​

any

Returns ​

any