codePointAt

fun Document.codePointAt(position: Int): Int

Interrogate the code point at the specified position.

Return

The requested code point.

Parameters

position

The target position.

Throws

If the document is empty.