Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
classified
· 3y ago · 0 comments
It's not a union type, but an option. INT | NULL --> Option<INT>.
Comments
[–]
dtech
3y ago
Option is an union type
[–]
AnimalMuppet
3y ago
It's a sum type, which is not quite the same thing.