ldrop() Function

Function

ldrop( array, number )

Drops a given number of values from the left side of an array and returns the resulting array.

Parameters

Keyword Type Description

array

Any Type Array

The array to modify.

number

Integer

The number of values to drop from the array.

Returns

Any Type Array

Usage considerations

The number value must be greater than or equal to zero.

Examples

You can experiment with this function in the test box below.

Test Input

ldrop({10, 20, 30, 40}, 1) returns 20, 30, 40

Open in Github Built: Fri, Dec 03, 2021 (02:38:50 PM)

On This Page

FEEDBACK