validatePosition

abstract fun validatePosition(position: Position): Position(source)

Ensure a position is contained in the range of this document.

Parameters

position

A position.