Filter out last object in a list directly

0
How to filter out last object in a list directly. Is there something similar to 'Head' operation( which is used to filter first object)?
asked
1 answers
2

can you not reverse sort the list and use head?

answered