On 2012-03-21 09:42, Nick Sabalausky wrote:
"Jacob Carlborg"<d...@me.com>  wrote in message
Sure, why not. Do we want an "any" function as well, that is the opposite?


I think "!array.empty" is plenty sufficient. Besides, there are other good
uses of "any" that have been brought up before.

Actually I was thinking something like "any?" in Ruby:

http://www.ruby-doc.org/core-1.8.7/Enumerable.html#method-i-any-3F

--
/Jacob Carlborg

Reply via email to