So, I have loop, where I get [Int]
and that Array
may has only one element, may has several elements. That arrays may be the same and may be different.
I'd like to create Array
of unique of arrays [Int]
. How to do it? When I try to create by Set
I see that
[Int] not hashable
my code:
for i in 0..<someData.count {
someData?[i].db.value(forKey: "value") as! [Int] // here I get [Int]
//here I'd like to create an array of unique arrays from from the line above
}