Endo API documentation
    Preparing search index...

    Function filterIterable

    • The result iterator has a subset of the non-final values from the baseIterator --- those for which pred(value) was truthy. The result has the same termination as the baseIterator -- the same completion value or failure reason.

      Type Parameters

      • T

      Parameters

      • baseIterable: Iterable<T, any, any>
      • pred: (value: T) => boolean

      Returns Iterable<T, any, any>