toPosition

abstract fun <L> toPosition(location: L): Position

Converts the given location to a position.

Return

position.

Parameters

location

Location.

<L>

Location Type.