range
Return
a new range value that wraps the parsed content of raw
Parameters
raw
raw value to convert to a range value. The format is x..y
, where x
and y
are integers that specify start and end of the range. Both start and end can be omitted to represent an open/infinite value on that end.
See also
Throws
if the value is an invalid range