peek

fun peek(): Int(source)

Peek the next code point.

Return

the next code point or 0 if empty


fun peek(index: Int): Int(source)

Peek the next index-th code point.

index must be greater than 0.

Return

the next index-th code point or 0 if empty

Parameters

index

to peek