We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Gets values except last.
Similar: head, tail, init, last.
iterable.init(x); // x: an iterable
const iterable = require('extra-iterable'); iterable.init([1, 2, 3]); // [1, 2] iterable.init([1]); // []