ts-data-forge
    Preparing search index...
    drop: {
        <const Ar extends readonly unknown[], N extends ArgArr>(
            array: Ar,
            num: N,
        ): N extends | 0
        | 1
        | 2
        | 3
        | 4
        | 5
        | 6
        | 7
        | 8
        | 9
        | 10
        | 11
        | 12
        | 13
        | 14
        | 15
        | 16
        | 17
        | 18
        | 19
        | 20
        | 21
        | 22
        | 23
        | 24
        | 25
        | 26
        | 27
        | 28
        | 29
        | 30
        | 31
        | 32
        | 33
        | 34
        | 35
        | 36
        | 37
        | 38
        | 39
            ? Skip<N<N>, Ar>
            : readonly Ar[number][];
        <N extends ArgArr>(
            num: N,
        ): <const Ar extends readonly unknown[]>(
            array: Ar,
        ) => N extends | 0
        | 1
        | 2
        | 3
        | 4
        | 5
        | 6
        | 7
        | 8
        | 9
        | 10
        | 11
        | 12
        | 13
        | 14
        | 15
        | 16
        | 17
        | 18
        | 19
        | 20
        | 21
        | 22
        | 23
        | 24
        | 25
        | 26
        | 27
        | 28
        | 29
        | 30
        | 31
        | 32
        | 33
        | 34
        | 35
        | 36
        | 37
        | 38
        | 39
            ? Skip<N<N>, Ar>
            : readonly Ar[number][];
    } = skip

    Alias for skip.

    Type Declaration

      • <const Ar extends readonly unknown[], N extends ArgArr>(
            array: Ar,
            num: N,
        ): N extends | 0
        | 1
        | 2
        | 3
        | 4
        | 5
        | 6
        | 7
        | 8
        | 9
        | 10
        | 11
        | 12
        | 13
        | 14
        | 15
        | 16
        | 17
        | 18
        | 19
        | 20
        | 21
        | 22
        | 23
        | 24
        | 25
        | 26
        | 27
        | 28
        | 29
        | 30
        | 31
        | 32
        | 33
        | 34
        | 35
        | 36
        | 37
        | 38
        | 39
            ? Skip<N<N>, Ar>
            : readonly Ar[number][]
      • Skips the first N elements of an array.

        Type Parameters

        • const Ar extends readonly unknown[]
        • N extends ArgArr

        Parameters

        • array: Ar
        • num: N

        Returns N extends | 0
        | 1
        | 2
        | 3
        | 4
        | 5
        | 6
        | 7
        | 8
        | 9
        | 10
        | 11
        | 12
        | 13
        | 14
        | 15
        | 16
        | 17
        | 18
        | 19
        | 20
        | 21
        | 22
        | 23
        | 24
        | 25
        | 26
        | 27
        | 28
        | 29
        | 30
        | 31
        | 32
        | 33
        | 34
        | 35
        | 36
        | 37
        | 38
        | 39
            ? Skip<N<N>, Ar>
            : readonly Ar[number][]

        const values = ['a', 'b', 'c', 'd'] as const;

        const withoutFirstTwo = Arr.skip(values, 2);
        const withoutFirstThree = Arr.skip(3)(values);

        assert.deepStrictEqual(withoutFirstTwo, ['c', 'd']);
        assert.deepStrictEqual(withoutFirstThree, ['d']);
      • <N extends ArgArr>(
            num: N,
        ): <const Ar extends readonly unknown[]>(
            array: Ar,
        ) => N extends | 0
        | 1
        | 2
        | 3
        | 4
        | 5
        | 6
        | 7
        | 8
        | 9
        | 10
        | 11
        | 12
        | 13
        | 14
        | 15
        | 16
        | 17
        | 18
        | 19
        | 20
        | 21
        | 22
        | 23
        | 24
        | 25
        | 26
        | 27
        | 28
        | 29
        | 30
        | 31
        | 32
        | 33
        | 34
        | 35
        | 36
        | 37
        | 38
        | 39
            ? Skip<N<N>, Ar>
            : readonly Ar[number][]
      • Skips the first N elements of an array.

        Type Parameters

        • N extends ArgArr

        Parameters

        • num: N

        Returns <const Ar extends readonly unknown[]>(
            array: Ar,
        ) => N extends | 0
        | 1
        | 2
        | 3
        | 4
        | 5
        | 6
        | 7
        | 8
        | 9
        | 10
        | 11
        | 12
        | 13
        | 14
        | 15
        | 16
        | 17
        | 18
        | 19
        | 20
        | 21
        | 22
        | 23
        | 24
        | 25
        | 26
        | 27
        | 28
        | 29
        | 30
        | 31
        | 32
        | 33
        | 34
        | 35
        | 36
        | 37
        | 38
        | 39
            ? Skip<N<N>, Ar>
            : readonly Ar[number][]

        const values = ['a', 'b', 'c', 'd'] as const;

        const withoutFirstTwo = Arr.skip(values, 2);
        const withoutFirstThree = Arr.skip(3)(values);

        assert.deepStrictEqual(withoutFirstTwo, ['c', 'd']);
        assert.deepStrictEqual(withoutFirstThree, ['d']);

    skip