• Skips the first count elements from the source.

    Type Parameters

    • T

      Type of items in the source.

    Parameters

    • count: number

      Number of elements to skip.

    Returns OperationFunction<T, T>

    Operation that skips the first count elements from the source.

    const result = skip<number>(2)([1, 2, 3, 4]);
    console.log([...result]); // [3, 4]