Given a list, return two outputs: the first item and the list with that item removed (aka Shift).
- list: The starting list. Be sure to set the type of the list (e.g. list of objects or list of numbers)
- list: Returns the list without the first item. (Be sure to set the type of the output list to match that of the input list.)
- item: Returns the first item. (Be sure to set the type – e.g. if the input list is a list of numbers, then item should also be set to be a number.)