(blank? nil) returns nil, not true.
decoursin opened this issue · 2 comments
decoursin commented
The documenation says that (blank? nil)
=> true, but that's not what I'm getting, see below:
(showing other blank?
examples to show that the blank?
is working, just not for nil
or maybe your documentation is wrong?)
nick> (blank? " ")
true
nick> (blank? nil)
nil
nick> (blank? "foobr")
false
nick> (blank? "")
true
nick> (blank? "\n")
true
nick> (blank? "\n\t")
true
niwinz commented
The documentation is wrong, thanks for reporting it.
niwinz commented
Fixed on master.