I have 2 arrays:
var list:Array = [1,2,3,4,5] var findList:Array = [1,3,5]
I want to determine if list A
list
allSatisfy seems to be what you want, assuming you can't conform your elements to Hashable and use the set intersection approach others have mentioned:
Hashable
let containsAll = subArray.allSatisfy(largerArray.contains)