/**
 * This function takes a set and a tuple as input, and returns a set containing the intersection between the set and the tuple.
 *
 * @param setData A set of elements
 * @param tupleData A tuple of elements
 * @return A set containing elements present in both the set and the tuple
 */
fun setToTupleSetIntersection(setData: Set<Any>, tupleData: List<Any>): Set<Any> {

    // Intersect the set and tuple using the 'intersect" method
    val intersectionSet = setData.intersect(tupleData)
    
    return intersectionSet.toSet()
}
/**
 * This function takes a set and a tuple as input, and returns a set containing the intersection between the set and the tuple.
 *
 * @param setData A set of elements
 * @param tupleData A tuple of elements
 * @return A set containing elements present in both the set and the tuple
 */
fun setToTupleSetIntersection(setData: Set<Any>, tupleData: List<Any>): Set<Any> {
/**
 * This function takes a set and a tuple as input, and returns a set containing the intersection between the set and the tuple.
 *
 * @param setData A set of elements
 * @param tupleData A tuple of elements
 * @return A set containing elements present in both the set and the tuple
 */
fun setToTupleSetIntersection(setData: Set<Any>, tupleData: List<Any>): Set<Any> {

    // Intersect the set and tuple using the 'intersect" method
    val intersectionSet = setData.intersect(tupleData)
    
    return intersectionSet.toSet()
}