File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/node_modules/@stdlib/iter/head/docs Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 66 If a provided iterator only generates `m` values and `m` is less than `n`,
77 the returned iterator only returns `m` values.
88
9- If an environment supports Symbol.iterator, the returned iterator is
10- iterable.
9+ If an environment supports Symbol.iterator and a provided iterator is
10+ iterable, the returned iterator is iterable .
1111
1212 Parameters
1313 ----------
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ type Iterator = Iter | IterableIterator;
3131* ## Notes
3232*
3333* - If a provided iterator only generates `m` values and `m` is less than `n`, the returned iterator only returns `m` values.
34- * - If an environment supports `Symbol.iterator`, the returned iterator is iterable.
34+ * - If an environment supports `Symbol.iterator` **and** a provided iterator is iterable , the returned iterator is iterable.
3535*
3636* @param iterator - input iterator
3737* @param n - number of values
You can’t perform that action at this time.
0 commit comments