removeTail_#

swordfish.function.removeTail_()#

Delete the last n elements from a vector.

Parameters:
  • obj (Constant) – A vector.

  • n (Constant) – A positive integer indicating the number of elements at the end of the vector to be removed.