How to check if a set is a strict superset of another in Swift

1 Answer

0 votes
let st1: Set = ["swift", "c", "c++", "go", "java", "c#", "python"]
let st2: Set = ["java", "swift", "c#"]

print(st1.isStrictSuperset(of: st2))






/*
run:

true

*/

 



answered Jun 13, 2023 by avibootz
...