pop!

Syntax

pop!(X)

Arguments

X is a vector.

Details

Remove the last element of X.

Examples

x = 1 2 3;
pop!(x);
// output
3

x;
// output
[1,2]