Hacker News new | ask | show | jobs
by ameliaquining 203 days ago
There isn't a built-in assert function that behaves that way; you would need to either write it or import it.
1 comments

I'm not a web dev. Are people really that opposed to writing a function which would solve problems in their project? It's two lines long...