pub fn peekCodepoint(it: *Wtf8Iterator) ?u21 it: *Wtf8Iterator1790
1791
1792
1793
1794
1795 pub fn peekCodepoint(it: *Wtf8Iterator) ?u21 {
const original_i = it.i;
defer it.i = original_i;
return it.nextCodepoint();
}
Look ahead at the next codepoint without advancing the iterator. If no codepoints exist, then returns null.