Trims elements from the end of the collection
$num
Trims num of elements from the end of the collection.
num
The number of elements to be trimmed.
Returns true on success or false on failure.
true
false