An iterator that pairs adjacent values in the input Iterator<T> together like: [T, T]

Type Parameters

  • T

Implements

  • IterableIterator<[T, T]>

Constructors

Properties

Methods

Constructors

Properties

iterator: Iterator<T, any, any>
prev: null | IteratorResult<T, any> = null

Methods

  • Returns IterableIterator<[T, T], any, any>

  • Parameters

    • Rest...args: any[]

    Returns IteratorResult<[T, T], any>