ixfx
    Preparing search index...

    Function filter

    • filter([1, 2, 3, 4], e => e % 2 == 0);
      returns [2, 4]

      Type Parameters

      • V

      Parameters

      • it: Iterable<V>
      • f: (v: V) => boolean

      Returns Generator<V, void, unknown>