Is there any intentions of adding a method which operates like the php in_array.
on 2008-06-27 21:09
on 2008-06-27 21:19
On Fri, Jun 27, 2008 at 2:09 PM, louis w <email@example.com> wrote: > > Is there any intentions of adding a method which operates like the php > in_array. That's what Enumerable#include is for. -justin
on 2008-06-27 21:22
Brilliant thanks. I thought it was weird that it was not there. I was looking in the wrong place.
on 2008-06-27 21:34
As well as native Array.prototype.indexOf -- kangax