Range.last
Returns the last element of the range. Not applicable to RedBlackTreeRange.
Arguments
None
Return values
value
or { key: Key; value: Value; }
structure, depending on the range type.
Complexity
Constant
Example
Output:
50
{ key: 3; value: "THREE"; }