/**
 * This function takes two tuples as input and returns a set containing the elements present in both tuples.
 *
 * @param t1 The first tuple.
 * @param t2 The second tuple.
 * @return A set containing the elements present in both tuples.
 *
 * Example:
 * tupleIntersection(listOf('a', 'b', 'c'), listOf('b', 'c', 'd')) // Output: setOf('b', 'c')
 */
fun tupleIntersection(t1: List<Any>, t2: List<Any>): Set<Any> {

    return t1.toSet() intersect t2.toSet()
}
/**
 * This function takes two tuples as input and returns a set containing the elements present in both tuples.
 *
 * @param t1 The first tuple.
 * @param t2 The second tuple.
 * @return A set containing the elements present in both tuples.
 *
 * Example:
 * tupleIntersection(listOf('a', 'b', 'c'), listOf('b', 'c', 'd')) // Output: setOf('b', 'c')
 */
fun tupleIntersection(t1: List<Any>, t2: List<Any>): Set<Any> {
/**
 * This function takes two tuples as input and returns a set containing the elements present in both tuples.
 *
 * @param t1 The first tuple.
 * @param t2 The second tuple.
 * @return A set containing the elements present in both tuples.
 *
 * Example:
 * tupleIntersection(listOf('a', 'b', 'c'), listOf('b', 'c', 'd')) // Output: setOf('b', 'c')
 */
fun tupleIntersection(t1: List<Any>, t2: List<Any>): Set<Any> {

    return t1.toSet() intersect t2.toSet()
}