@revideo/2d / code / lines
Function: lines()
lines(
from,to?):CodeRange
Defined in: 2d/src/lib/code/CodeRange.ts:30
Create a code range that spans the given lines.
Parameters
from
number
The line from which the range starts.
to?
number
The line at which the range ends. If omitted, the range will cover only one line.