I'd like to declare a function that receives a string and a Tuple2 with first value as boolean and second value as any type. The tuple2 should have a default value in case its not delivered to the function
I tried the following code to set the boolean as false but I failed miserably.
def setSet(key: String, value: Any, tuple2: Tuple2[Boolean, Any] = tuple2._1 = false)