Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
likeclockwork
· 3y ago · 0 comments
instanceof only works for inherited types, usually expressed with the class keyword by TypeScript users. It's entirely worthless if you're not using them. Class is the only construct in TS that is both a type and a value.
Comments
No comments yet.
Better HN