Range.first
Returns the first element of the range.
Arguments
None
Return values
value
or { key: Key; value: Value; }
structure, depending on the range type.
Complexity
Constant
Example
Output:
1
{ key: 1; value: "ONE"; }
Returns the first element of the range.
None
Constant