Create a Range

Share:

Description

A document_range is a pair of document_position objects, with each position indicating the start and end of the range, respectively.

Usage

1
2
3
4
5

Arguments

start

A document_position indicating the start of the range.

end

A document_position indicating the end of the range.

x

An object coercable to document_range.

Value

An R list with class document_range and fields:

start: The start position.
end: The end position.