is there a method in ruby that returns true or false if an array is
unique
array.uniq? doesn’t seem to fly
is there a method in ruby that returns true or false if an array is
unique
array.uniq? doesn’t seem to fly
On 11 Mar 2008, at 21:08, Murphy Blatt wrote:
is there a method in ruby that returns true or false if an array is
unique
what do you mean by an array being unique. whether it has no duplicates?
Fred
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs