flatten multimethod

Methods

flatten(e:Eachable1) Source: stdlib.ngs:1886
Flatten one level.

Parameters

eEachable with each element also Eachable

Returns

Arr

Example

[[1], [2,3]].flatten()  # [1,2,3]