last#

swordfish.function.last()#

Return the last element of a vector, or the last row of a matrix or table.

If the last element is null, the function returns NULL. To get the last non-null element, use lastNot.

Parameters:

X (Constant) – A scalar/vector/matrix/table.