@stdlib/iter-head

Create an iterator which returns the first `n` values of a provided iterator.

Browse on unpkg