logoalt Hacker News

gowldyesterday at 5:20 PM0 repliesview on HN

Would a plain data object be an instance of PlainYearMonth?

If not, that regardless of being plain data or a serialized object with functions, you'd still need to convert it to the type you want.