/**
 * Given a dictionary, create a tuple of key-value pairs using the toPair() function.
 *
 * @param dictionary The dictionary containing key-value pairs.
 * @return The tuple containing the key-value pairs from the dictionary.
 */
fun createTupleFromDictionary(dictionary: Map<String, Any>): List<Pair<String, Any>> {

    return dictionary.map { it.toPair() }
}

// Example usage
/**
 * Given a dictionary, create a tuple of key-value pairs using the toPair() function.
 *
 * @param dictionary The dictionary containing key-value pairs.
 * @return The tuple containing the key-value pairs from the dictionary.
 */
fun createTupleFromDictionary(dictionary: Map<String, Any>): List<Pair<String, Any>> {
/**
 * Given a dictionary, create a tuple of key-value pairs using the toPair() function.
 *
 * @param dictionary The dictionary containing key-value pairs.
 * @return The tuple containing the key-value pairs from the dictionary.
 */
fun createTupleFromDictionary(dictionary: Map<String, Any>): List<Pair<String, Any>> {

    return dictionary.map { it.toPair() }
}

// Example usage