removeTail_#

swordfish.function.removeTail_()#

Delete the last n elements from a vector.

参数:
  • obj (Constant) -- A vector.

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