repl.txt (912B)
1 2 {{alias}}( iterator ) 3 Returns an iterator which iteratively evaluates the digamma function. 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 r = {{alias:@stdlib/random/iter/uniform}}( 0.01, 5.0 ); 29 > var it = {{alias}}( r ); 30 > var v = it.next().value 31 <number> 32 > v = it.next().value 33 <number> 34 35 See Also 36 -------- 37