starry.flatten
4.0.0 • Public • Published Member of the starry suite—modular functions for iterable objects.
Status
Applies to the whole suite.
Usage
function flatten<T = any>(
iterable: Iterable<Iterable<T>> = []
): Iterable<T>
Returns an iterable that iterates through the input flattened a single level.
Parameters:
- iterable:
Iterable<Iterable<T>>
Returns: Iterable<T>
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 4.0.0
1
Version History
Package Sidebar
Install
Weekly Downloads