subPathUntil

open fun subPathUntil(to: Int): Path(source)

Creates a new sub path that includes all cells from this path starting at the first cell (inclusive) to to (inclusive).

Return

a new sub path from the first cell to to

Parameters

to

the index position at which the sub path should end