/**
 * This function accepts two sets and returns all elements present in both sets.
 *
 * @param set1 The first set
 * @param set2 The second set
 * @return A set containing all elements present in set1 and set2 without duplicates
 */
fun getAllElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    return set1.union(set2)
}
/**
 * This function accepts two sets and returns all elements present in both sets.
 *
 * @param set1 The first set
 * @param set2 The second set
 * @return A set containing all elements present in set1 and set2 without duplicates
 */
fun getAllElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {
/**
 * This function accepts two sets and returns all elements present in both sets.
 *
 * @param set1 The first set
 * @param set2 The second set
 * @return A set containing all elements present in set1 and set2 without duplicates
 */
fun getAllElements(set1: Set<Any>, set2: Set<Any>): Set<Any> {

    return set1.union(set2)
}