The iterator or iterable to flatten.
Flattens an iterator or iterable.
Strings are not flattened. Any string encountered while flattening nested iterables is treated as a single
atomic value (same as Array.prototype.flat / Lodash flatten). To split a string into characters, spread it
into an array first (e.g. [...str]) or iterate the string directly as the root input.
The iterator or iterable to flatten.
The number of levels to flatten (default: Infinity, i.e. deeply).
Flattens an iterator or iterable.
Strings are not flattened. Any string encountered while flattening nested iterables is treated as a single
atomic value (same as Array.prototype.flat / Lodash flatten). To split a string into characters, spread it
into an array first (e.g. [...str]) or iterate the string directly as the root input.
The number of levels to flatten (default: Infinity, i.e. deeply).
Flattens an iterator or iterable.
Strings are not flattened. Any string encountered while flattening nested iterables is treated as a single
atomic value (same as Array.prototype.flat / Lodash flatten). To split a string into characters, spread it
into an array first (e.g. [...str]) or iterate the string directly as the root input.
The iterator or iterable to flatten.
The number of levels to flatten (default: Infinity, i.e. deeply).
Flattens an iterator or iterable.
Strings are not flattened. Any string encountered while flattening nested iterables is treated as a single
atomic value (same as Array.prototype.flat / Lodash flatten). To split a string into characters, spread it
into an array first (e.g. [...str]) or iterate the string directly as the root input.
The number of levels to flatten (default: Infinity, i.e. deeply).
Flattens an iterator or iterable.
Strings are not flattened. Any string encountered while flattening nested iterables is treated as a single
atomic value (same as Array.prototype.flat / Lodash flatten). To split a string into characters, spread it
into an array first (e.g. [...str]) or iterate the string directly as the root input.
The iterator or iterable to flatten.
The number of levels to flatten (default: Infinity, i.e. deeply).
Flattens an iterator or iterable.
Strings are not flattened. Any string encountered while flattening nested iterables is treated as a single
atomic value (same as Array.prototype.flat / Lodash flatten). To split a string into characters, spread it
into an array first (e.g. [...str]) or iterate the string directly as the root input.
The number of levels to flatten (default: Infinity, i.e. deeply).
Flattens an iterator or iterable.
Strings are not flattened. Any string encountered while flattening nested iterables is treated as a single
atomic value (same as Array.prototype.flat / Lodash flatten). To split a string into characters, spread it
into an array first (e.g. [...str]) or iterate the string directly as the root input.
The iterator or iterable to flatten.
The number of levels to flatten (default: Infinity, i.e. deeply).
Flattens an iterator or iterable.
Strings are not flattened. Any string encountered while flattening nested iterables is treated as a single
atomic value (same as Array.prototype.flat / Lodash flatten). To split a string into characters, spread it
into an array first (e.g. [...str]) or iterate the string directly as the root input.
The number of levels to flatten (default: Infinity, i.e. deeply).
Flattens an iterator or iterable.
Strings are not flattened. Any string encountered while flattening nested iterables is treated as a single
atomic value (same as Array.prototype.flat / Lodash flatten). To split a string into characters, spread it
into an array first (e.g. [...str]) or iterate the string directly as the root input.
The iterator or iterable to flatten.
The number of levels to flatten (default: Infinity, i.e. deeply).
Flattens an iterator or iterable.
Strings are not flattened. Any string encountered while flattening nested iterables is treated as a single
atomic value (same as Array.prototype.flat / Lodash flatten). To split a string into characters, spread it
into an array first (e.g. [...str]) or iterate the string directly as the root input.
The number of levels to flatten (default: Infinity, i.e. deeply).
Flattens an iterator or iterable.
Strings are not flattened. Any string encountered while flattening nested iterables is treated as a single
atomic value (same as Array.prototype.flat / Lodash flatten). To split a string into characters, spread it
into an array first (e.g. [...str]) or iterate the string directly as the root input.
The iterator or iterable to flatten.
The number of levels to flatten (default: Infinity, i.e. deeply).
Flattens an iterator or iterable.
Strings are not flattened. Any string encountered while flattening nested iterables is treated as a single atomic value (same as
Array.prototype.flat/ Lodashflatten). To split a string into characters, spread it into an array first (e.g.[...str]) or iterate the string directly as the root input.