And if I replace it with ``` val resul...
# functional
d
And if I replace it with
Copy code
val result: Int = match("1".some())(
                    case(typeOf<String>() then { "String" }),
                    case(typeOf<Option.Some<Int>>() then { "Option.Some<Int>" }),
                    case(typeOf<Option.Some<String>>() then { "Option.Some<String>" }),
                    case(typeOf<Option.Some<Double>>() then { "Option.Some<Double>" }),
                    case(typeOf<Int>() then { "Int" }),
                    default = { "Any" }
            )
?