Module

x/lodash_es/src/seq.js>next

lodash for deno use
Latest
function next
import { next } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/seq.js";

Gets the next value on a wrapped object following the iterator protocol.

Examples

var wrapped = _([1, 2]);

wrapped.next(); // => { 'done': false, 'value': 1 }

wrapped.next(); // => { 'done': false, 'value': 2 }

wrapped.next(); // => { 'done': true, 'value': undefined }