Kotlin Wrappers API Reference
Toggle table of contents
web
Target filter
web
Switch theme
Search in API
kotlin-vscode
/
vscode
/
TextDocument
/
validatePosition
validate
Position
abstract
fun
validatePosition
(
position
:
Position
)
:
Position
(
source
)
Ensure a position is contained in the range of this document.
Parameters
position
A position.