Maps the input iterator to a new value of type R and filters out any values that are nullish.

Type Parameters

  • T
  • R

Implements

  • IterableIterator<NonNullable<R>>

Constructors

Properties

Methods

Constructors

Properties

iteratee: (value: T) => R
iterator: Iterator<T>

Methods

  • Parameters

    • ...args: any[]

    Returns IteratorResult<NonNullable<R>>