Function char [src]
Prototype
pub fn char(self: *@This()) ?u21
Parameters
self: *@This()
Source
pub fn char(self: *@This()) ?u21 {
if (self.iter.nextCodepoint()) |code_point| {
return code_point;
}
return null;
}
pub fn char(self: *@This()) ?u21
self: *@This()
pub fn char(self: *@This()) ?u21 {
if (self.iter.nextCodepoint()) |code_point| {
return code_point;
}
return null;
}