/**
 * Given two sets, return the intersection of the two sets using the intersect function.
 *
 * @param set1 First set.
 * @param set2 Second set.
 * @return Intersection of set1 and set2.
 */
fun intersectionOfSets(set1: Set<*>, set2: Set<*>): Set<*> {

    return set1.intersect(set2)
}
/**
 * Given two sets, return the intersection of the two sets using the intersect function.
 *
 * @param set1 First set.
 * @param set2 Second set.
 * @return Intersection of set1 and set2.
 */
fun intersectionOfSets(set1: Set<*>, set2: Set<*>): Set<*> {
/**
 * Given two sets, return the intersection of the two sets using the intersect function.
 *
 * @param set1 First set.
 * @param set2 Second set.
 * @return Intersection of set1 and set2.
 */
fun intersectionOfSets(set1: Set<*>, set2: Set<*>): Set<*> {

    return set1.intersect(set2)
}