(collection: Iterable<A>)
| 163 | * @since 2.0.0 |
| 164 | */ |
| 165 | export const fromIterable = <A>(collection: Iterable<A>): Array<A> => |
| 166 | Array.isArray(collection) ? collection : Array.from(collection) |
| 167 | |
| 168 | /** |
| 169 | * Creates a new `Array` from a value that might not be an iterable. |
no outgoing calls
no test coverage detected