Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The newer `satisfies never` is great for this purpose. It’s also convenient with if else chains if that’s more one’s style.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: