valueOf
Throws a TypeError, as PlainYearMonth objects cannot be converted to primitive values.
Parameters
- self:PlainYearMonth
- PlainYearMonth
Source
Implementation
pub fn valueOf(self: PlainYearMonth) !void {
_ = self;
return error.ValueError;
}