Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dlitz
on Oct 12, 2011
|
parent
|
context
|
favorite
| on:
Why Dart is not the language of the future.
null or false, actually.
pyre
on Oct 12, 2011
[–]
Slip of the tongue. ;) But the easiest way to think about it is something like:
type(x) == Boolean ? x == True : x != nil
Disclaimer: That may not be valid Ruby, as I only have a passing knowledge of some bits of Ruby.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: