Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
randomdata
· 2y ago · 0 comments
Yes, technically it is closer to (T | null) & {__tag: K}, but the context where "equivalent" is used is clearly about practical usage. Option<T> is most similar to T | null in code people actually write on a normal basis.
Comments
No comments yet.
Better HN