Hacker News new | ask | show | jobs
by classified 1065 days ago
It's not a union type, but an option. INT | NULL --> Option<INT>.
1 comments

Option is an union type
It's a sum type, which is not quite the same thing.