Given a list, return two outputs: the last item and the list with that item removed (aka Pop).

Input Fields

  • list: A list of items. Can be set to any type, and then the output item and list should be set to match that type.

Output Fields

  • list: A new list which is the same as the input list except with the last item removed.
  • item: The last item from the input list.