rdrop() Function

Function

rdrop( array, number )

Drops a given number of values from the right 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 0.

Examples

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

Open in Github Built: Mon, Jun 27, 2022 (11:16:17 AM)

On This Page

FEEDBACK