Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
dschooh
· 4y ago · 0 comments
[] is truthy in Ruby but there is #empty? on collection types. Rails also has #blank? which additionally works on false and nil.
Comments
No comments yet.
Better HN