Returns a list that removes the last {1} elements from the end of list {0}. If {0} has less than {1} elements, an empty list ...

Returns a list that removes the last {1} elements from the end of list {0}. If {0} has less than {1} elements, an empty list is returned.
 
  • If a number is specified, up to that many items are removed.
  • If a condition is specified, the returned list ends with the first element from the bottom in {0} that meets the criteria. Once an item fails the condition, no further items are considered.
  • If this parameter is null, only one item is removed.