Js.Iterator
Bindings to functions on Iterator
Iterator
type t('a) = Js.iterator('a);
type value('a) = {
done_: option(bool),
value: option('a),
};
let next: t('a) => value('a);
let toArray: t('a) => array('a);
let toArrayWithMapper: t('a) => f:('a => 'b) => array('b);