repl.txt (883B)
1 2 {{alias}}( iterator ) 3 Returns an iterator which iteratively evaluates the natural logarithm. 4 5 If an environment supports Symbol.iterator and a provided iterator is 6 iterable, the returned iterator is iterable. 7 8 Parameters 9 ---------- 10 iterator: Object 11 Input iterator. 12 13 Returns 14 ------- 15 iterator: Object 16 Iterator. 17 18 iterator.next(): Function 19 Returns an iterator protocol-compliant object containing the next 20 iterated value (if one exists) and a boolean flag indicating whether the 21 iterator is finished. 22 23 iterator.return( [value] ): Function 24 Finishes an iterator and returns a provided value. 25 26 Examples 27 -------- 28 > var it = {{alias}}( {{alias:@stdlib/random/iter/randu}}() ); 29 > var r = it.next().value 30 <number> 31 > r = it.next().value 32 <number> 33 34 See Also 35 -------- 36