lastOrDefault property
T?
get
lastOrDefault
Returns the last item in this treap, or null if it is empty.
Implementation
T? get lastOrDefault => _root.lastOrNull?.item;
Returns the last item in this treap, or null if it is empty.
T? get lastOrDefault => _root.lastOrNull?.item;