Prelude API
    Preparing search index...

    Function skip

    • Returns a generator that skips the first n elements and yields the rest.

      Type Parameters

      • T

        The type of elements in the iterable

      Parameters

      • n: number

        Number of elements to skip from the beginning

      Returns (values: Iterable<T>) => Generator<T>

      Elements after skipping the first n elements

      G.pipe(
      [1, 2, 3, 4, 5],
      G.skip(2),
      G.array
      ) // [3, 4, 5]