Returns an iterator which skips the first value of a provided iterator.
Symbol.iterator
and a provided iterator is iterable, the returned iterator is iterable.input iterator
callback to invoke with the skipped value
callback execution context
iterator
var array2iterator = require( `@stdlib/array/to-iterator` );
var iter = iterShift( array2iterator( [ 1, 2 ] ) );
var v = iter.next().value;
// returns 2
var bool = iter.next().done;
// returns true
Callback invoked with the skipped value.
iterated value