codePointOrNullAt

fun Document.codePointOrNullAt(position: Int): Int?

Interrogate the code point at the specified position.

Return

The requested code point, or null if the document is empty.

Parameters

position

The target position.