it
    Preparing search index...

    Function default

    • Filters the passed (async) iterable by using the filter function

      Type Parameters

      • T

      Parameters

      Returns AsyncGenerator<T, void, undefined>

    • Filters the passed (async) iterable by using the filter function

      Type Parameters

      • T

      Parameters

      • source: Iterable<T>
      • fn: (val: T, index: number) => boolean

      Returns Generator<T, void, undefined>

    • Filters the passed (async) iterable by using the filter function

      Type Parameters

      • T

      Parameters

      • source: Iterable<T, any, any> | AsyncIterable<T, any, any>
      • fn: (val: T, index: number) => boolean | Promise<boolean>

      Returns AsyncGenerator<T, void, undefined>