lastOrNull

fun lastOrNull(): Int?

Returns the last element, or null if this deque is empty.