Reference shorten()

shorten()

Warning

Use array.pop() instead.

Decreases an array by one element and returns the shortened array, maps to Array.pop().

Examples

Syntax

shorten(list)

Parameters

list
Array:

Array to shorten

Returns

Array: shortened Array
This page is generated from the comments in src/utilities/array_functions.js . Please feel free to edit it and submit a pull request!

Related References