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

I think you mean this

(x = Post.first) ? do_foo(x) : do_bar



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

Search: